summaryrefslogtreecommitdiffstats
path: root/games/qqwing/Makefile
blob: d1cf7407ae892ac817b780118a680b6c485fc65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $FreeBSD$

PORTNAME=	qqwing
PORTVERSION=	1.3.3
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	games gnome
DIST_SUBDIR=	gnome3

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Sudoku generating and solving software

USE_GITHUB=	yes
GH_ACCOUNT=	stephenostermiller

USES=		autoreconf:build gmake libtool pathfix pkgconfig
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
PATHFIX_MAKEFILEIN=	Makefile.am
INSTALL_TARGET=	install-strip

CONFIGURE_WRKSRC=	${WRKSRC}/target/automake
BUILD_WRKSRC=		${WRKSRC}/target/automake
INSTALL_WRKSRC=		${WRKSRC}/target/automake

pre-configure:
	@${MKDIR} ${WRKSRC}/target/automake
	@cd ${WRKSRC} && ${CP} build/configure.ac build/Makefile.am \
		build/qqwing.pc.in doc/README doc/AUTHORS doc/COPYING \
		target/automake
	@cd ${WRKSRC} && ${CP} doc/qqwing.man target/automake/qqwing.1
	@cd ${WRKSRC}/target/automake && ${TOUCH} config.h.in
	@cd ${WRKSRC}/target/automake && ${AUTORECONF} --force --install

pre-build:
	@cd ${WRKSRC} && ${CP} src/cpp/*.cpp target/automake
	@cd ${WRKSRC} && ${CP} src/cpp/*.hpp target/automake

.include <bsd.port.mk>
OpenPOWER on IntegriCloud