aboutsummaryrefslogtreecommitdiff
path: root/games/reminiscence
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-14 23:31:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-14 23:31:58 +0000
commit79b2d7242900b6ab34e3ce2be1aa640717c65111 (patch)
treee514762af8544ec0f8e4afe4218311ba7db9d468 /games/reminiscence
parent4ec321e1bbc5c84d8b41abacb3eddaaa39380840 (diff)
downloadports-79b2d7242900b6ab34e3ce2be1aa640717c65111.tar.gz
ports-79b2d7242900b6ab34e3ce2be1aa640717c65111.zip
Notes
Diffstat (limited to 'games/reminiscence')
-rw-r--r--games/reminiscence/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/games/reminiscence/Makefile b/games/reminiscence/Makefile
index 1f2216cb894c..edd8f51b2173 100644
--- a/games/reminiscence/Makefile
+++ b/games/reminiscence/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: REminiscence
-# Date created: 11 Feb 2005
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= REminiscence
PORTVERSION= 0.2.1
@@ -25,19 +21,17 @@ SUB_FILES= pkg-message
PORTDOCS= README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin
${MKDIR} ${DATADIR}/data
-
-post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}