aboutsummaryrefslogtreecommitdiffstats
path: root/games/mahjong
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-11-26 00:30:49 +0800
committermiwi <miwi@FreeBSD.org>2011-11-26 00:30:49 +0800
commit997729537b30a4542134078f816556028e04c3de (patch)
tree4201f75df580acb8d03ad36233e1fa289f639bb5 /games/mahjong
parent46d681f7a5c9b4c86e295bf18675afecf133fd76 (diff)
downloadfreebsd-ports-gnome-997729537b30a4542134078f816556028e04c3de.tar.gz
freebsd-ports-gnome-997729537b30a4542134078f816556028e04c3de.tar.zst
freebsd-ports-gnome-997729537b30a4542134078f816556028e04c3de.zip
- Update to 1.11
PR: 162820 Submitted by: Ports Fury Feature safe: yes
Diffstat (limited to 'games/mahjong')
-rw-r--r--games/mahjong/Makefile20
-rw-r--r--games/mahjong/distinfo4
2 files changed, 15 insertions, 9 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
diff --git a/games/mahjong/distinfo b/games/mahjong/distinfo
index 9853bcdee84e..5a43c0733ec0 100644
--- a/games/mahjong/distinfo
+++ b/games/mahjong/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mj-1.10-src.tar.gz) = b3993a6f9efbb238415697631e048e04839a695e250b59e59173d7096373bc81
-SIZE (mj-1.10-src.tar.gz) = 400283
+SHA256 (mj-1.11-src.tar.gz) = 10b068c833c02176ce613945cdf9af034249fb73d9616e0697119315ead7d1f4
+SIZE (mj-1.11-src.tar.gz) = 405620