aboutsummaryrefslogtreecommitdiff
path: root/games/pokerth
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-29 11:17:43 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-29 11:17:43 +0000
commit2c9300fabd7adb8118f2846e2e60b3a544d43c93 (patch)
treee79821b19314378c5342f49c0ef1840a1d17189d /games/pokerth
parent91a7d9d4d3dfa3c3cc97d78ac398c83feebbcac2 (diff)
downloadports-2c9300fabd7adb8118f2846e2e60b3a544d43c93.tar.gz
ports-2c9300fabd7adb8118f2846e2e60b3a544d43c93.zip
- Support staging
Notes
Notes: svn path=/head/; revision=328678
Diffstat (limited to 'games/pokerth')
-rw-r--r--games/pokerth/Makefile16
-rw-r--r--games/pokerth/pkg-plist1
2 files changed, 6 insertions, 11 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index 5dc3074b5e00..513aaa8a0fcb 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -30,12 +30,9 @@ USE_QT4= gui corelib network sql sql-sqlite3 qmake_build \
USE_SDL= mixer
HAS_CONFIGURE= yes
QMAKE_ARGS+= PREFIX=${PREFIX}
+MAKE_ARGS+= INSTALL_ROOT=${STAGEDIR}
PORTDOCS= server_setup_howto.txt
-MAN1= pokerth.1
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -E \
@@ -51,12 +48,9 @@ do-configure:
@cd ${CONFIGURE_WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} pokerth.pro
post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/pokerth ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${DOCSDIR}
-.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/pokerth/pkg-plist b/games/pokerth/pkg-plist
index d3f9dd74b65e..2fa758054754 100644
--- a/games/pokerth/pkg-plist
+++ b/games/pokerth/pkg-plist
@@ -1,5 +1,6 @@
bin/pokerth
bin/pokerth_server
+man/man1/pokerth.1.gz
share/applications/pokerth.desktop
share/pixmaps/pokerth.png
%%DATADIR%%/data/data-copyright.txt