diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-02 21:06:48 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-02 21:06:48 +0800 |
commit | 846e573f18ade4530b1e61312fd22a5cf22d950b (patch) | |
tree | 31f9d32f355c93cf9f8b33c77867be5b5d0b2b29 /games | |
parent | c7ccd4f8eccb64d53053812aaeda78874832a007 (diff) | |
download | freebsd-ports-gnome-846e573f18ade4530b1e61312fd22a5cf22d950b.tar.gz freebsd-ports-gnome-846e573f18ade4530b1e61312fd22a5cf22d950b.tar.zst freebsd-ports-gnome-846e573f18ade4530b1e61312fd22a5cf22d950b.zip |
- Fix compilation [1]
- Respect ${CXX}
- When deinstalling, remove the score file if it is empty
Reported by: kris [1]
Diffstat (limited to 'games')
-rw-r--r-- | games/super_methane_brothers/Makefile | 7 | ||||
-rw-r--r-- | games/super_methane_brothers/pkg-plist | 1 |
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 |