aboutsummaryrefslogtreecommitdiffstats
path: root/games/brickshooter
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:33:55 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-02-04 07:33:55 +0800
commit0832b6005d37ae4017cd5d0156cfd5d8bf9355f4 (patch)
treee2d6aeb35b5c165d065bd0f47c7b119c9726b4d9 /games/brickshooter
parentcccb4e9621ff405b0c7bb8b1dbbf6f97508f00f8 (diff)
downloadfreebsd-ports-gnome-0832b6005d37ae4017cd5d0156cfd5d8bf9355f4.tar.gz
freebsd-ports-gnome-0832b6005d37ae4017cd5d0156cfd5d8bf9355f4.tar.zst
freebsd-ports-gnome-0832b6005d37ae4017cd5d0156cfd5d8bf9355f4.zip
- Trim header
- OptionsNG
Diffstat (limited to 'games/brickshooter')
-rw-r--r--games/brickshooter/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/brickshooter/Makefile b/games/brickshooter/Makefile
index 7f7ecbe18b6d..d4b699f636ee 100644
--- a/games/brickshooter/Makefile
+++ b/games/brickshooter/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: brickshooter
-# Date created: 09 May 2008
-# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
-#
PORTNAME= brickshooter
PORTVERSION= 0.04
@@ -19,6 +15,8 @@ USE_SDL= sdl mixer image
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
.for dir in gfx levels snd
@${REINPLACE_CMD} -e 's|${dir}/|${DATADIR}/&|g' ${WRKSRC}/${PORTNAME}.c
@@ -35,7 +33,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif