diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-06-28 21:59:26 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-06-28 21:59:26 +0000 |
commit | edc052cb312f1913509a7ab4ff0bc74f7d953add (patch) | |
tree | 8b01be5d485f8cbf6fef2ea8c00c87308bc7921e /games/galaxyhack | |
parent | Update lang/sbcl to 0.9.14. (diff) |
- Avoid corrupting PNG files with USE_DOS2UNIX.
Notes
Notes:
svn path=/head/; revision=166530
Diffstat (limited to 'games/galaxyhack')
-rw-r--r-- | games/galaxyhack/Makefile | 9 | ||||
-rw-r--r-- | games/galaxyhack/files/patch-Makefile (renamed from games/galaxyhack/files/patch-src__Makefile) | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/games/galaxyhack/Makefile b/games/galaxyhack/Makefile index b6e02baa5a82..a9ed844b0141 100644 --- a/games/galaxyhack/Makefile +++ b/games/galaxyhack/Makefile @@ -23,8 +23,7 @@ USE_BZIP2= yes USE_DOS2UNIX= yes USE_GMAKE= yes USE_SDL= gfx image mixer sdl -WRKSRC= ${WRKDIR}/${PORTNAME} -BUILD_WRKSRC= ${WRKSRC}/src +WRKSRC= ${WRKDIR}/${PORTNAME}/src OPTIONS= FLEETS "Install additional fleets" off \ OPTIMIZED_CFLAGS "Enable compilation optimizations" on @@ -53,11 +52,11 @@ MAKE_ENV+= OPTIMIZED_CFLAGS=YES do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME} - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/settings.dat ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/../settings.dat ${DATADIR} .for d in fleets gamedata graphics music standardpictures - ${CP} -R ${WRKSRC}/${d} ${DATADIR} + ${CP} -R ${WRKSRC}/../${d} ${DATADIR} .endfor .if defined(WITH_FLEETS) @${UNZIP_CMD} -o ${_DISTDIR}/${FLEETS_FILE} -d ${DATADIR}/fleets diff --git a/games/galaxyhack/files/patch-src__Makefile b/games/galaxyhack/files/patch-Makefile index 0443e2e90790..ae94a063a207 100644 --- a/games/galaxyhack/files/patch-src__Makefile +++ b/games/galaxyhack/files/patch-Makefile @@ -1,5 +1,5 @@ ---- ./src/Makefile.orig Mon Apr 17 16:33:33 2006 -+++ ./src/Makefile Sat Jun 10 17:00:12 2006 +--- ./Makefile.orig Mon Apr 17 16:33:33 2006 ++++ ./Makefile Sat Jun 10 17:00:12 2006 @@ -9,10 +9,13 @@ INSTALL_DIR=/usr/local/share INSTALL_BIN_DIR=/usr/local/bin |