aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-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