aboutsummaryrefslogtreecommitdiffstats
path: root/games/sdl-ball/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/sdl-ball/Makefile')
-rw-r--r--games/sdl-ball/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/sdl-ball/Makefile b/games/sdl-ball/Makefile
index 2039af142292..2f09b77a73fd 100644
--- a/games/sdl-ball/Makefile
+++ b/games/sdl-ball/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: sdl-ball
-# Date created: 22 Apr 2008
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= sdl-ball
PORTVERSION= 1.01
@@ -23,11 +19,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= *
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdl-ball ${PREFIX}/bin/
${MKDIR} ${DATADIR}
cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${DATADIR}/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif