aboutsummaryrefslogtreecommitdiff
path: root/games/super_methane_brothers
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-02 13:06:48 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-07-02 13:06:48 +0000
commita9aa24af6343edd32e8f464f1c8fa23755a3d3c2 (patch)
tree94b723b6074b666a30f0a6153987a3d3e11af77e /games/super_methane_brothers
parentd83c47f049de6fe30155baa2d34e832f361c9b72 (diff)
downloadports-a9aa24af6343edd32e8f464f1c8fa23755a3d3c2.tar.gz
ports-a9aa24af6343edd32e8f464f1c8fa23755a3d3c2.zip
Notes
Diffstat (limited to 'games/super_methane_brothers')
-rw-r--r--games/super_methane_brothers/Makefile7
-rw-r--r--games/super_methane_brothers/pkg-plist1
2 files changed, 4 insertions, 4 deletions
diff --git a/games/super_methane_brothers/Makefile b/games/super_methane_brothers/Makefile
index 8044ed05e62e..2e2578de3a82 100644
--- a/games/super_methane_brothers/Makefile
+++ b/games/super_methane_brothers/Makefile
@@ -7,6 +7,7 @@
PORTNAME= super_methane_brothers
PORTVERSION= 1.4.7
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= methane
@@ -19,8 +20,6 @@ COMMENT= A port of the Amiga platform game of the same name
LIB_DEPENDS= clanCore-0.7:${PORTSDIR}/devel/clanlib-devel \
mikmod:${PORTSDIR}/audio/libmikmod
-BROKEN= Does not compile
-
BUILD_WRKSRC= ${WRKSRC}/source/linux
MAKEFILE= makefile
@@ -36,8 +35,8 @@ IGNORE= does not compile on FreeBSD 4.X
post-patch:
@${REINPLACE_CMD} -e \
- 's|g\+\+|$${CXX}|; \
- s|gcc|$${CXX}|; \
+ 's|g++|${CXX}|; s|gcc|${CXX}|; \
+ s|\(clanCore-0.7\)|\1 clanSignals-0.7|; \
s|^\(METHANE_FLAGS =\)|\1 -I${X11BASE}/include|; \
s|^\(METHANE_LIBS =\)|\1 -L${X11BASE}/lib|' \
${BUILD_WRKSRC}/makefile
diff --git a/games/super_methane_brothers/pkg-plist b/games/super_methane_brothers/pkg-plist
index 886517a91c72..c6cc349544db 100644
--- a/games/super_methane_brothers/pkg-plist
+++ b/games/super_methane_brothers/pkg-plist
@@ -22,3 +22,4 @@ bin/methane
%%PORTDOCS%%%%DOCSDIR%%/todo
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec [ -s /var/games/methanescores ] || rm -f /var/games/methanescores