summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-04-13 10:44:47 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-04-13 10:44:47 +0000
commit2a6064328d2b2497f7e2c5997890fafdfabb0a7b (patch)
tree6f90e9a02f9c1f04722a92690f20c4c4d9e933c0 /games
parentlang/squeak: convert to CONFIGURE_OUTSOURCE (diff)
games/qqwing: convert to CONFIGURE_OUTSOURCE
Approved by: portmgr blanket Differential Revision: https://reviews.freebsd.org/D5817
Notes
Notes: svn path=/head/; revision=413194
Diffstat (limited to 'games')
-rw-r--r--games/qqwing/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/games/qqwing/Makefile b/games/qqwing/Makefile
index da2b05bcf5a2..f716ad4f3cfe 100644
--- a/games/qqwing/Makefile
+++ b/games/qqwing/Makefile
@@ -13,27 +13,17 @@ COMMENT= Sudoku generating and solving software
USE_GITHUB= yes
GH_ACCOUNT= stephenostermiller
-USES= autoreconf:build gmake libtool pathfix pkgconfig
+USES= autoreconf gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CONFIGURE_OUTSOURCE= yes
PATHFIX_MAKEFILEIN= Makefile.am
+AUTORECONF_WRKSRC= ${WRKSRC}/build
+CONFIGURE_CMD= ${AUTORECONF_WRKSRC}/configure
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
+ @${LN} -sf ${WRKSRC}/doc/qqwing.man ${BUILD_WRKSRC}/qqwing.1
+ @${LN} -sf ${WRKSRC}/src/cpp/*.[ch]pp ${BUILD_WRKSRC}/
.include <bsd.port.mk>