aboutsummaryrefslogtreecommitdiffstats
path: root/games/pipepanic
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-07-12 23:01:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-07-12 23:01:45 +0800
commit816503d0c5051e291b1c9d153597bec2c0d90e3e (patch)
tree713942325bda393305edb21d46cd7f38d213aebc /games/pipepanic
parent422d267e1126322ee1278071a404f04be2383f95 (diff)
downloadfreebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.tar.gz
freebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.tar.zst
freebsd-ports-gnome-816503d0c5051e291b1c9d153597bec2c0d90e3e.zip
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS - OptionsNG - Pet portlint - Switch to dynamic plist where useful - Canonicalize patch names - Fix DOS line endings in patch files
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