aboutsummaryrefslogtreecommitdiffstats
path: root/games/brainparty
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:53:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:53:48 +0800
commit691c4a8281f94dd02f4fc896018b964ea74b20a1 (patch)
tree598c49fbe00e9ec186f22d53e0b3ab7bbf817073 /games/brainparty
parent5ecc6f36a09369cd7d510f756bc3e20f73bdaa90 (diff)
downloadfreebsd-ports-gnome-691c4a8281f94dd02f4fc896018b964ea74b20a1.tar.gz
freebsd-ports-gnome-691c4a8281f94dd02f4fc896018b964ea74b20a1.tar.zst
freebsd-ports-gnome-691c4a8281f94dd02f4fc896018b964ea74b20a1.zip
- Trim header
- OptionsNG
Diffstat (limited to 'games/brainparty')
-rw-r--r--games/brainparty/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/games/brainparty/Makefile b/games/brainparty/Makefile
index ae8439ce88ad..ad58f823ac6b 100644
--- a/games/brainparty/Makefile
+++ b/games/brainparty/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: brainparty
-# Date created: 04 Apr 2010
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= brainparty
PORTVERSION= 0.5
@@ -25,6 +21,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= CREDITS README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp
@@ -32,8 +30,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/Content/* ${DATADIR}/
-.if !defined(NOPORTDOCS)
-post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/