diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-25 16:30:49 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-25 16:30:49 +0000 |
commit | 6497c3dcd18ef26d4b8c3c4323f1126419f38546 (patch) | |
tree | 90dee3417290caa9ca83d1b0209735c4ae227c61 /games/mahjong/Makefile | |
parent | 7a37674bd4bce6a6510d8fe8418c298c4a792f7d (diff) | |
download | ports-6497c3dcd18ef26d4b8c3c4323f1126419f38546.tar.gz ports-6497c3dcd18ef26d4b8c3c4323f1126419f38546.zip |
Notes
Diffstat (limited to 'games/mahjong/Makefile')
-rw-r--r-- | games/mahjong/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile index 3cb4a48683c2..b6f3e166c2a8 100644 --- a/games/mahjong/Makefile +++ b/games/mahjong/Makefile @@ -7,7 +7,7 @@ # PORTNAME= mahjong -PORTVERSION= 1.10 +PORTVERSION= 1.11 CATEGORIES= games net MASTER_SITES= http://mahjong.julianbradfield.org/Source/%SUBDIR%/ MASTER_SITE_SUBDIR= . Old @@ -16,13 +16,13 @@ DISTNAME= mj-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= A networked Mah Jong program, together with a computer player -LICENSE= GPLv2 GPLv3 -LICENSE_COMB= dual +LICENSE= GPLv2 # (or later) USE_GNOME= gtk20 -USE_PERL5_BUILD= yes +USE_PERL5_BUILD=yes USE_GMAKE= yes -MAKE_ENV= CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" PERL="${PERL}" +MAKE_ENV= CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" PERL="${PERL}" \ + INCLUDES="-I." MAKE_JOBS_SAFE= yes MAN1= xmj.1 @@ -31,12 +31,18 @@ MLINKS= xmj.1 mj-player.1 \ PLIST_FILES= bin/mj-server bin/mj-player bin/xmj post-patch: - @${REINPLACE_CMD} -e 's|^CC|#CC|g ; \ + @${REINPLACE_CMD} -e \ + 's|^CC|#CC|g ; \ s|^DESTDIR|#DESTDIR|g ; \ s|^CDEBUGFLAGS|#CDEBUGFLAGS|g ; \ s|^MAKE|#MAKE|g ; \ s|^PERL|#PERL|g ; \ - s|^INST|#INST|g' ${WRKSRC}/Makefile + s|^INST|#INST|g ; \ + s|make |$$(MAKE) |g' ${WRKSRC}/Makefile.in + +do-configure: + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \ + Makefile.in Makefile) do-install: .for file in mj-server mj-player xmj |