ports/181886: games/mahjong: Update to version 1.13

KATO Tsuguru tkato432 at yahoo.com
Thu Oct 31 19:40:13 UTC 2013


The following reply was made to PR ports/181886; it has been noted by GNATS.

From: KATO Tsuguru <tkato432 at yahoo.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/181886: games/mahjong: Update to version 1.13
Date: Fri, 1 Nov 2013 04:26:16 +0900

 This is a multi-part message in MIME format.
 
 --Multipart=_Fri__1_Nov_2013_04_26_16_+0900_c5OJfrafeY4vIAZS
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Remake of the patch against current tree.
 
 --Multipart=_Fri__1_Nov_2013_04_26_16_+0900_c5OJfrafeY4vIAZS
 Content-Type: text/x-diff;
  name="games_mahjong.diff"
 Content-Disposition: attachment;
  filename="games_mahjong.diff"
 Content-Transfer-Encoding: 7bit
 
 diff -urN /usr/ports/games/mahjong/Makefile games/mahjong/Makefile
 --- /usr/ports/games/mahjong/Makefile	2013-09-22 04:10:09.000000000 +0900
 +++ games/mahjong/Makefile	2013-11-01 00:00:00.000000000 +0900
 @@ -2,32 +2,29 @@
  # $FreeBSD: head/games/mahjong/Makefile 327730 2013-09-20 17:36:33Z bapt $
  
  PORTNAME=	mahjong
 -PORTVERSION=	1.12.1
 -PORTREVISION=	1
 +PORTVERSION=	1.13
  CATEGORIES=	games net
  MASTER_SITES=	http://mahjong.julianbradfield.org/Source/%SUBDIR%/
  MASTER_SITE_SUBDIR=	. Old
  DISTNAME=	mj-${PORTVERSION}-src
  
  MAINTAINER=	ports at FreeBSD.org
 -COMMENT=	A networked Mah Jong program, together with a computer player
 +COMMENT=	Networked Mah Jong program, together with a computer player
  
  LICENSE=	GPLv2 # (or later)
  
 -USES=		perl5 gmake pkgconfig
 +USES=		gmake perl5 pkgconfig
  USE_GNOME=	gtk20
  USE_PERL5=	build
  MAKE_ENV=	CCLINK="${CC}" CDEBUGFLAGS="${CFLAGS}" PERL="${PERL}" \
  		INCLUDES="-I."
  
 -MAN1=		xmj.1
 -MLINKS=		xmj.1 mj-player.1 \
 -		xmj.1 mj-server.1
 -PLIST_FILES=	bin/mj-server bin/mj-player bin/xmj
 +PLIST_FILES=	bin/mj-server bin/mj-player bin/xmj \
 +		man/man1/mj-player.1.gz man/man1/mj-server.1.gz \
 +		man/man1/xmj.1.gz
  
 -NO_STAGE=	yes
  post-patch:
 -	@${REINPLACE_CMD}  -e \
 +	@${REINPLACE_CMD} -e \
  		's|^CC|#CC|g ; \
  		 s|^DESTDIR|#DESTDIR|g ; \
  		 s|^CDEBUGFLAGS|#CDEBUGFLAGS|g ; \
 @@ -35,17 +32,22 @@
  		 s|^PERL|#PERL|g ; \
  		 s|^INST|#INST|g ; \
  		 s|make |$$(MAKE) |g' ${WRKSRC}/Makefile.in
 -	${REINPLACE_CMD}  -e \
 +	@${REINPLACE_CMD} -e \
  		's|SOL_TCP|IPPROTO_TCP|' ${WRKSRC}/sysdep.c
  
  do-configure:
 -	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
 +	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
  		Makefile.in Makefile)
  
  do-install:
 -.for file in mj-server mj-player xmj
 -	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file}
 +.for i in mj-player mj-server xmj
 +	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \
 +		${STAGEDIR}${PREFIX}/bin/${i})
 +.endfor
 +	(cd ${WRKSRC} && ${INSTALL_MAN} xmj.man \
 +		${STAGEDIR}${MANPREFIX}/man/man1/xmj.1)
 +.for i in mj-player.1 mj-server.1
 +	${LN} -sf xmj.1 ${STAGEDIR}${MANPREFIX}/man/man1/${i}
  .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	2013-09-05 01:47:39.000000000 +0900
 +++ games/mahjong/distinfo	2013-11-01 00:00:00.000000000 +0900
 @@ -1,2 +1,2 @@
 -SHA256 (mj-1.12.1-src.tar.gz) = 6066a5e8fb629063313f1383db9c9d775c0f0ba390803f07ac6393cd03f2d0ce
 -SIZE (mj-1.12.1-src.tar.gz) = 402341
 +SHA256 (mj-1.13-src.tar.gz) = 024a7f5a081a9151ad31e7178b3eeb9a8befab717aad2970775c400a16f76f33
 +SIZE (mj-1.13-src.tar.gz) = 411628
 diff -urN /usr/ports/games/mahjong/pkg-descr games/mahjong/pkg-descr
 --- /usr/ports/games/mahjong/pkg-descr	2013-09-05 01:47:39.000000000 +0900
 +++ games/mahjong/pkg-descr	2013-11-01 00:00:00.000000000 +0900
 @@ -1,7 +1,7 @@
 -This is a set of three programs which provide a networked Mah Jong program,
 -together with a computer player. Thus the game can be played by four humans, by
 -a human and three computer players, or any other combination. There is a server
 -program, which handles the game. An X client to allow humans to play naturally,
 -and a computer player.
 +This is a set of three programs which provide a networked Mah Jong
 +program, together with a computer player. Thus the game can be played by
 +four humans, by a human and three computer players, or any other
 +combination. There is a server program, which handles the game. An X
 +client to allow humans to play naturally, and a computer player.
  
  WWW: http://mahjong.julianbradfield.org/
 
 --Multipart=_Fri__1_Nov_2013_04_26_16_+0900_c5OJfrafeY4vIAZS--


More information about the freebsd-ports-bugs mailing list