Update to 1.0.1

Fix/Improve patching

PR:		30165
Submitted by:	maintainer
This commit is contained in:
David W. Chapman Jr. 2001-08-28 16:55:17 +00:00
parent 615f647290
commit af55bd7e54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47030
2 changed files with 12 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= tuxtype
PORTVERSION= 1.0
PORTVERSION= 1.0.1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -24,13 +24,19 @@ SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
pre-patch:
.for dirs in data images sounds docs/en ..
@${PERL} -pi.orig -e 's|${LOCALBASE}/share/tuxtype|${DATADIR}|; \
s|/usr/doc/tuxtype|${DOCSDIR}|' \
.for dirs in data images sounds
@${PERL} -pi.orig -e \
's|\$$\(prefix\)/tuxtype/README_IMAGES.TXT|${DOCSDIR}/README_IMAGES.TXT|; \
s|\$$\(prefix\)/tuxtype/README_SOUNDS.TXT|${DOCSDIR}/README_SOUNDS.TXT|; \
s|\$$\(prefix\)/tuxtype|${DATADIR}|' \
${WRKSRC}/tuxtype/${dirs}/Makefile.am
.endfor
.for docs in docs/en ..
@${PERL} -pi.orig -e 's|\$$\(prefix\)/tuxtype|${DOCSDIR}|' \
${WRKSRC}/tuxtype/${docs}/Makefile.am
.endfor
.for files in graphics playgame
@${PERL} -pi.orig -e 's|${LOCALBASE}/share/tuxtype|${DATADIR}|' \
@${PERL} -pi.orig -e 's|/usr/local/share/tuxtype|${DATADIR}|' \
${WRKSRC}/tuxtype/${files}.h
.endfor

View File

@ -1 +1 @@
MD5 (tuxtype-1.0.tar.gz) = 49d49020677ce895aae2a7f8fd64b7ae
MD5 (tuxtype-1.0.1.tar.gz) = 17ddc860a9e5a0970dba06c4225f9030