aboutsummaryrefslogtreecommitdiff
path: root/games/umark
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-12 19:53:01 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-12 19:53:01 +0000
commita4cb2a06df9f6d2c15d7dc95f18b331266c174aa (patch)
tree8bff23b91d182338d4f8f4c23e679a892fe8c82d /games/umark
parentabae22cc3397d1fd2bd502bb497c365cd13cf90a (diff)
downloadports-a4cb2a06df9f6d2c15d7dc95f18b331266c174aa.tar.gz
ports-a4cb2a06df9f6d2c15d7dc95f18b331266c174aa.zip
Notes
Diffstat (limited to 'games/umark')
-rw-r--r--games/umark/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/games/umark/Makefile b/games/umark/Makefile
index d6af048da70c..4bdd7f3302de 100644
--- a/games/umark/Makefile
+++ b/games/umark/Makefile
@@ -20,22 +20,16 @@ MAKEFILE= ${FILESDIR}/Makefile
SUB_FILES= pkg-message
PORTDOCS= ChangeLog INSTALL README TODO
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/UMark/install_umark_data.sh ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/UMark/utxinfo.pl ${STAGEDIR}${DATADIR}
cd ${WRKDIR}/UMark && ${FIND} data html pixmaps | \
- ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${DOCSDIR}
-.endif
-
-post-install:
- @${ECHO_MSG}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG}
+ ${CPIO} -pdu ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKDIR}/UMark/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>