diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-06-15 09:34:11 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-06-15 09:34:11 +0000 |
commit | 35a436665389af6467c6a11408e205d03b73e8b1 (patch) | |
tree | f8f0dd2ec9d9ac4b33751b9f16f56068dd17322b /games/shaaft | |
parent | 8dedcbd056166cb1365cb8794c6e0e826cc8b085 (diff) | |
download | ports-35a436665389af6467c6a11408e205d03b73e8b1.tar.gz ports-35a436665389af6467c6a11408e205d03b73e8b1.zip |
- Fix the build with recent GCC [1]
- Kill teeny pkg-plist, utilize PLIST_FOOs instead
- Pacify portlint(1) (unquote BROKEN statement)
- Cleanup Makefile (whitespace issues, header)
Reported by: pointyhat [1]
Notes
Notes:
svn path=/head/; revision=193560
Diffstat (limited to 'games/shaaft')
-rw-r--r-- | games/shaaft/Makefile | 21 | ||||
-rw-r--r-- | games/shaaft/pkg-plist | 4 |
2 files changed, 13 insertions, 12 deletions
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile index 783b03c2c0eb..14bb74b9b109 100644 --- a/games/shaaft/Makefile +++ b/games/shaaft/Makefile @@ -1,6 +1,6 @@ -# New ports collection makefile for: shaaft -# Date created: 02 Jan 2004 -# Whom: krion@FreeBSD.org +# New ports collection makefile for: Shaaft +# Date created: 02 Jan 2004 +# Whom: Kirill Ponomarew <krion@FreeBSD.org> # # $FreeBSD$ # @@ -25,22 +25,27 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-optimize +DATADIR= ${PREFIX}/share/Shaaft + +PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat +PLIST_DIRS= %%DATADIR%% MAN6= ${PORTNAME}.6 .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" +BROKEN= Does not compile on sparc64 .endif post-patch: @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \ - s|^CXXFLAGS|#CXXFLAGS|g ; \ - s|/usr/X11R6|${X11BASE}|g ; \ - s|-lSDL | |g ; \ - s|-lpng12|-lpng|g' ${WRKSRC}/configure + s|^CXXFLAGS|#CXXFLAGS|g ; \ + s|/usr/X11R6|${X11BASE}|g ; \ + s|-lSDL | |g ; \ + s|-lpng12|-lpng|g' ${WRKSRC}/configure @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' + @${REINPLACE_CMD} -e 's|== 3|>= 3|' ${WRKSRC}/utils/hashMap.hpp .include <bsd.port.post.mk> diff --git a/games/shaaft/pkg-plist b/games/shaaft/pkg-plist deleted file mode 100644 index 5cb0a5b817a2..000000000000 --- a/games/shaaft/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/Packer -bin/shaaft -share/Shaaft/resource.dat -@dirrm share/Shaaft |