aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-05-15 07:31:58 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-05-15 07:31:58 +0800
commit47db6fae004ef4a9de2081143f3fcbdf3eb88471 (patch)
treee514762af8544ec0f8e4afe4218311ba7db9d468 /games
parentca28a421e74cdfc03feca6efd6deec77384f11d0 (diff)
downloadfreebsd-ports-gnome-47db6fae004ef4a9de2081143f3fcbdf3eb88471.tar.gz
freebsd-ports-gnome-47db6fae004ef4a9de2081143f3fcbdf3eb88471.tar.zst
freebsd-ports-gnome-47db6fae004ef4a9de2081143f3fcbdf3eb88471.zip
- Switch to OptionsNG
- Trim header
Diffstat (limited to 'games')
-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}