aboutsummaryrefslogtreecommitdiffstats
path: root/games/powermanga/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-04-10 13:44:31 +0800
committerrafan <rafan@FreeBSD.org>2007-04-10 13:44:31 +0800
commit88c70178a2d0c67ef152a5e6f1a4995ff9f72850 (patch)
treecf154dcd5e3cc11f7224634a321618f462b00110 /games/powermanga/Makefile
parentfe87c87615892c0064f7f05c6ac563ae82fcbd26 (diff)
downloadfreebsd-ports-gnome-88c70178a2d0c67ef152a5e6f1a4995ff9f72850.tar.gz
freebsd-ports-gnome-88c70178a2d0c67ef152a5e6f1a4995ff9f72850.tar.zst
freebsd-ports-gnome-88c70178a2d0c67ef152a5e6f1a4995ff9f72850.zip
- Fix after latest update: install languages files ourself. Bump
PORTREVISON for this. - Use DATADIR PR: ports/111386 Reported by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Diffstat (limited to 'games/powermanga/Makefile')
-rw-r--r--games/powermanga/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index e51c8f1eac94..779aa0c060d7 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= powermanga
PORTVERSION= 0.80
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://linux.tlk.fr/games/Powermanga/download/
EXTRACT_SUFX= .tgz
@@ -38,9 +39,16 @@ post-patch:
@${REINPLACE_CMD} -e 's|SDL/||' \
${WRKSRC}/src/powermanga.hpp \
${WRKSRC}/src/sdl_mixer.cpp
+ @${REINPLACE_CMD} -e 's|Lang=fr|Lang=en|' \
+ ${WRKSRC}/texts/config.ini
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${MKDIR} ${DATADIR}/texts
+ @cd ${WRKSRC}/texts && \
+ (for i in *.ini *.txt; do \
+ ${INSTALL_DATA} $${i} ${DATADIR}/texts; \
+ done)
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} \