diff options
author | oliver <oliver@FreeBSD.org> | 2005-06-18 02:45:16 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-06-18 02:45:16 +0800 |
commit | b338197240c63b6854a299d5ea137ccae8d62a65 (patch) | |
tree | 1e64ead9438340d62ffda72244216be6940b413c /games/alephone/Makefile | |
parent | ff4b50d3f963c7235b292570cc4378dfe1b7ddab (diff) | |
download | freebsd-ports-gnome-b338197240c63b6854a299d5ea137ccae8d62a65.tar.gz freebsd-ports-gnome-b338197240c63b6854a299d5ea137ccae8d62a65.tar.zst freebsd-ports-gnome-b338197240c63b6854a299d5ea137ccae8d62a65.zip |
update to 20050118
PR: ports/79177
Submitted by: Evan Dower <evantd@yahoo.com>
Approved by: maintainer timeout (9 weeks)
Diffstat (limited to 'games/alephone/Makefile')
-rw-r--r-- | games/alephone/Makefile | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile index 8f677a4475c5..a21b49d5d9a0 100644 --- a/games/alephone/Makefile +++ b/games/alephone/Makefile @@ -6,8 +6,7 @@ # PORTNAME= alephone -PORTVERSION= 0.12.0 -PORTREVISION= 2 +PORTVERSION= 20050118 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= marathon @@ -16,20 +15,28 @@ DISTNAME= AlephOne-${PORTVERSION} MAINTAINER= malyn@strangeGizmo.com COMMENT= The open source version of Bungie's Marathon game -USE_SDL= image net sdl -USE_PERL5_BUILD=yes +USE_SDL= image net sdl sound +USE_GL= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" +USE_REINPLACE= yes +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ + CFLAGS="${CFLAGS} -I${X11BASE}/include" \ + CXXFLAGS="${CXXFLAGS} -I${X11BASE}/include" \ + LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" +CONFIGURE_ARGS+=--program-transform-name="" + +.include <bsd.port.pre.mk> post-patch: - @${PERL} -pi -e 's,^#include \"network_modem.h\".*,,' \ - ${WRKSRC}/Source_Files/Network/network.cpp \ - ${WRKSRC}/Source_Files/Network/network_stream.cpp \ +.if ${OSVERSION} < 500035 + @${REINPLACE_CMD} -e 's|streambuf>|streambuf\.h>|' \ + ${WRKSRC}/Source_Files/CSeries/snprintf.h +.endif post-install: .if !defined(NOPORTDOCS) @${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |