svn commit: r328678 - head/games/pokerth
Guido Falsi
madpilot at FreeBSD.org
Sun Sep 29 11:17:44 UTC 2013
Author: madpilot
Date: Sun Sep 29 11:17:43 2013
New Revision: 328678
URL: http://svnweb.freebsd.org/changeset/ports/328678
Log:
- Support staging
Modified:
head/games/pokerth/Makefile
head/games/pokerth/pkg-plist
Modified: head/games/pokerth/Makefile
==============================================================================
--- head/games/pokerth/Makefile Sun Sep 29 11:17:14 2013 (r328677)
+++ head/games/pokerth/Makefile Sun Sep 29 11:17:43 2013 (r328678)
@@ -30,12 +30,9 @@ USE_QT4= gui corelib network sql sql-sql
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>
Modified: head/games/pokerth/pkg-plist
==============================================================================
--- head/games/pokerth/pkg-plist Sun Sep 29 11:17:14 2013 (r328677)
+++ head/games/pokerth/pkg-plist Sun Sep 29 11:17:43 2013 (r328678)
@@ -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
More information about the svn-ports-all
mailing list