summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/mahjong/Makefile10
-rw-r--r--games/mahjong/distinfo2
2 files changed, 9 insertions, 3 deletions
diff --git a/games/mahjong/Makefile b/games/mahjong/Makefile
index 83c1c7b1132d..e4bb73c68fab 100644
--- a/games/mahjong/Makefile
+++ b/games/mahjong/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mahjong
-PORTVERSION= 1.5.6
+PORTVERSION= 1.6
CATEGORIES= games net
MASTER_SITES= http://www.stevens-bradfield.com/MahJong/Source/%SUBDIR%/
MASTER_SITE_SUBDIR= . OLD
@@ -16,7 +16,7 @@ DISTNAME= mj-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= A networked Mah Jong program, together with a computer player
-USE_PERL5= yes
+USE_PERL5_BUILD= yes
USE_GNOME= gtk12
USE_GMAKE= yes
MAKE_ENV= CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" \
@@ -37,4 +37,10 @@ post-patch:
s|^INST|#INST|g ; \
s|gtk-config|\$$\{GTK_CONFIG\}|g' ${WRKSRC}/Makefile
+do-install:
+.for file in mj-server mj-player xmj
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file}
+.endfor
+ ${INSTALL_MAN} ${WRKSRC}/xmj.man ${MANPREFIX}/man/man1/xmj.1
+
.include <bsd.port.mk>
diff --git a/games/mahjong/distinfo b/games/mahjong/distinfo
index 2df253ca0c27..312f95c44021 100644
--- a/games/mahjong/distinfo
+++ b/games/mahjong/distinfo
@@ -1 +1 @@
-MD5 (mj-1.5.6-src.tar.gz) = 0ea96559cb49ffabb85818eba9528377
+MD5 (mj-1.6-src.tar.gz) = 2ccf362e4c24e6b52bf1c74af8dea78c