Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 23:00:03 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57837: Update port: games/mahjong to 1.6
Message-ID:  <20031010230003.2d4fc39c.tkato@prontomail.com>
Resent-Message-ID: <200310101440.h9AEeFiL075077@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57837
>Category:       ports
>Synopsis:       Update port: games/mahjong to 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 10 07:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 1.6

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/mahjong/Makefile games/mahjong/Makefile
--- /usr/ports/games/mahjong/Makefile	Tue Jun 10 17:54:33 2003
+++ games/mahjong/Makefile	Fri Oct 10 00:38:34 2003
@@ -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 @@
 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}" \
@@ -36,5 +36,11 @@
 		 s|^PERL|#PERL|g ; \
 		 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 -urN /usr/ports/games/mahjong/distinfo games/mahjong/distinfo
--- /usr/ports/games/mahjong/distinfo	Tue Jun 10 17:54:33 2003
+++ games/mahjong/distinfo	Fri Oct 10 00:29:57 2003
@@ -1 +1 @@
-MD5 (mj-1.5.6-src.tar.gz) = 0ea96559cb49ffabb85818eba9528377
+MD5 (mj-1.6-src.tar.gz) = 2ccf362e4c24e6b52bf1c74af8dea78c
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010230003.2d4fc39c.tkato>