aboutsummaryrefslogtreecommitdiff
path: root/games/brickshooter
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-02-03 23:33:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-02-03 23:33:55 +0000
commite3575ca139921ce651701e06744aab65fddd7c37 (patch)
treee2d6aeb35b5c165d065bd0f47c7b119c9726b4d9 /games/brickshooter
parent9c915069b24783046a011633b272f9743b9053ee (diff)
downloadports-e3575ca139921ce651701e06744aab65fddd7c37.tar.gz
ports-e3575ca139921ce651701e06744aab65fddd7c37.zip
Notes
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