diff options
-rw-r--r-- | games/brickshooter/Makefile | 10 |
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 |