aboutsummaryrefslogtreecommitdiff
path: root/games/pipepanic
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-07-12 15:01:45 +0000
commitdaffe00d4a57c0ef6a21947a8121b8d233d8d3a5 (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/pipepanic
parent51498efaebaad1106dcf0d3f70c8feaa14c411ee (diff)
downloadports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.tar.gz
ports-daffe00d4a57c0ef6a21947a8121b8d233d8d3a5.zip
Notes
Diffstat (limited to 'games/pipepanic')
-rw-r--r--games/pipepanic/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/games/pipepanic/Makefile b/games/pipepanic/Makefile
index 9cff68819d7f..dd39f6c6118e 100644
--- a/games/pipepanic/Makefile
+++ b/games/pipepanic/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pipepanic
-# Date created: 20 May 2006
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= pipepanic
PORTVERSION= 0.1.3
@@ -24,6 +20,8 @@ PORTDOCS= README
DATAFILES= ascii15.bmp ascii30.bmp digits24.bmp \
digits48.bmp tiles24.bmp tiles48.bmp
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} \
-e '/^#define DATADIR/ s|.*|#define DATADIR "${DATADIR}/"|' \
@@ -35,8 +33,7 @@ do-install:
.for f in ${DATAFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
-
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif