summaryrefslogtreecommitdiff
path: root/games/mahjong
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-10 17:49:41 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-10 17:49:41 +0000
commit7f80d51eec09af225faf10c158a3324a1297ab85 (patch)
treea3120a91120863b78ed8cf384dd16fc48cf78cc3 /games/mahjong
parent* Update to 0.71 [1] (diff)
- Update to version 1.6
PR: 57837 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=90808
Diffstat (limited to 'games/mahjong')
-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