aboutsummaryrefslogtreecommitdiff
path: root/games/mahjong/Makefile
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/Makefile
parent382e9b638ce468002ed0fecbba5d20fdb14d35bb (diff)
Notes
Diffstat (limited to 'games/mahjong/Makefile')
-rw-r--r--games/mahjong/Makefile10
1 files changed, 8 insertions, 2 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>