summaryrefslogtreecommitdiff
path: root/games/toppler/Makefile
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-30 05:33:06 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-30 05:33:06 +0000
commite51a5e6f306873cacc15424414b5b16c879481e3 (patch)
treeadabcb654a6617cf87191144e6d590783d81cb19 /games/toppler/Makefile
parentAdd a distribution patch to fix tinting. (diff)
update games/toppler: 0.71 --> 1.0.2
PR: 53859 Submitted by: Dominic Mitchell <dom@happygiraffe.net> (maintainer)
Notes
Notes: svn path=/head/; revision=83882
Diffstat (limited to 'games/toppler/Makefile')
-rw-r--r--games/toppler/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/games/toppler/Makefile b/games/toppler/Makefile
index e88566744c6e..b47aadaed902 100644
--- a/games/toppler/Makefile
+++ b/games/toppler/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= toppler
-PORTVERSION= 0.71
+PORTVERSION= 1.0.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= toppler
@@ -23,26 +23,14 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
-SCOREDIR?= /var/games/${PORTNAME}
-SCOREFILE?= ${PORTNAME}.hscr
+MAN6= toppler.6
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@find ${WRKSRC} \( -name "*.[ch]" -or -name "*.cc" \) | \
xargs ${PERL} -pi -e 's|"SDL/SDL|"SDL|g ; s|<SDL/SDL|<SDL|g'
-post-patch:
- @${PERL} -pi -e 's|%SCOREDIR%|${SCOREDIR}|g;' \
- -e 's|%SCOREFILE%|${SCOREFILE}|g' ${WRKSRC}/menu.cc
-
-pre-install:
- ${MKDIR} ${SCOREDIR}
-
post-install:
- ${CHOWN} root:games ${PREFIX}/bin/${PORTNAME}
- ${CHMOD} g+s ${PREFIX}/bin/${PORTNAME}
- ${TOUCH} ${SCOREDIR}/${SCOREFILE}
- ${CHMOD} 664 ${SCOREDIR}/${SCOREFILE}
- ${CHOWN} root:games ${SCOREDIR}/${SCOREFILE}
+ @cd ${WRKSRC} && ${MAKE} global_highscore
.include <bsd.port.mk>