diff options
author | marino <marino@pkgsrc.org> | 2012-05-21 14:55:10 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-21 14:55:10 +0000 |
commit | 194cb28f82b387af61b76f899351ede7278ab0e0 (patch) | |
tree | c6f988a0ccab217354b3a165fcb5b352ed07a1e6 /games/xblast/Makefile | |
parent | ec4dad6a4c3b22a9e68f7fd4bad95babd19b0dce (diff) | |
download | pkgsrc-194cb28f82b387af61b76f899351ede7278ab0e0.tar.gz |
games/xblast: Fix unicode translation error during installation
Likely a mistake, one of the "levels" source files used unicode in the
filename. The manifest even indicated the name should have been
"reconstruction2.xal".
The post-extract hook is used to correct the filename to be as intended.
As a bonus, platforms like Linux and DragonFly can install the package
without a libarchive translation error disrupting the process.
Diffstat (limited to 'games/xblast/Makefile')
-rw-r--r-- | games/xblast/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile index 35b507d7dee..87dfcf5bc46 100644 --- a/games/xblast/Makefile +++ b/games/xblast/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.29 2011/05/24 12:38:43 obache Exp $ +# $NetBSD: Makefile,v 1.30 2012/05/21 14:55:10 marino Exp $ # DISTNAME= xblast-2.10.4 +PKGREVISION= 1 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xblast/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -47,6 +48,10 @@ SUBST_SED.xbsndsrv= -e 's|"xbsndsrv"|"${PREFIX}/bin/xbsndsrv"|' INSTALLATION_DIRS= ${PKGMANDIR}/man6 +post-extract: + ${MV} ${WRKDIR}/levels-2005-01-06/reconstruct?on2.xal \ + ${WRKDIR}/levels-2005-01-06/reconstruction2.xal + pre-build: ${MV} ${WRKDIR}/images-2005-01-06 ${WRKSRC}/image ${MV} ${WRKDIR}/levels-2005-01-06 ${WRKSRC}/level |