aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-04-13 18:44:47 +0800
committerjbeich <jbeich@FreeBSD.org>2016-04-13 18:44:47 +0800
commita0786767c078109e992ab33681c27949c14b7d6b (patch)
tree6f90e9a02f9c1f04722a92690f20c4c4d9e933c0 /games
parentc7bfb8e2d3f157dbe6c47e27c1c8de2c671b80a0 (diff)
downloadfreebsd-ports-gnome-a0786767c078109e992ab33681c27949c14b7d6b.tar.gz
freebsd-ports-gnome-a0786767c078109e992ab33681c27949c14b7d6b.tar.zst
freebsd-ports-gnome-a0786767c078109e992ab33681c27949c14b7d6b.zip
games/qqwing: convert to CONFIGURE_OUTSOURCE
Approved by: portmgr blanket Differential Revision: https://reviews.freebsd.org/D5817
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>