summaryrefslogtreecommitdiffstats
path: root/games/neverball/Makefile
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-07-04 03:22:09 +0000
committermezz <mezz@FreeBSD.org>2004-07-04 03:22:09 +0000
commit70b2066f1f8140141be09fc024ae32dc33107886 (patch)
treec121098761490544ff145ae1c8981971745edf44 /games/neverball/Makefile
parent574c41d75e243f0b658093f15327bf1cd9450768 (diff)
downloadFreeBSD-ports-70b2066f1f8140141be09fc024ae32dc33107886.zip
FreeBSD-ports-70b2066f1f8140141be09fc024ae32dc33107886.tar.gz
-Update to 1.3.1.
-Add PORTDOCS.
Diffstat (limited to 'games/neverball/Makefile')
-rw-r--r--games/neverball/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/games/neverball/Makefile b/games/neverball/Makefile
index 7f9b436..34f039e 100644
--- a/games/neverball/Makefile
+++ b/games/neverball/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= neverball
-PORTVERSION= 1.2.5
+PORTVERSION= 1.3.1
CATEGORIES= games
MASTER_SITES= http://icculus.org/neverball/
@@ -22,8 +22,9 @@ USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_SDL= image mixer ttf
-DIRS= bgm map-mym map-putt map-rlk mtrl png shot-mym shot-putt \
- shot-rlk snd sol-mym sol-putt sol-rlk ttf
+DOCS= CHANGES COPYING README
+DIRS= bgm map-back map-mym map-putt map-rlk mtrl obj png shot-mym \
+ shot-putt shot-rlk snd ttf
post-patch:
@${REINPLACE_CMD} -e 's|./data|${DATADIR}/data|g' \
@@ -40,4 +41,12 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${WRKSRC}/neverputt ${PREFIX}/bin/
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud