Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 07:41:53 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334285 - head/games/mahjong
Message-ID:  <201311190741.rAJ7frAs098176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Nov 19 07:41:52 2013
New Revision: 334285
URL: http://svnweb.freebsd.org/changeset/ports/334285

Log:
  - Update to 1.13
  - Various cleanups
  
  PR:		ports/181886
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/games/mahjong/Makefile
  head/games/mahjong/distinfo   (contents, props changed)
  head/games/mahjong/pkg-descr   (contents, props changed)

Modified: head/games/mahjong/Makefile
==============================================================================
--- head/games/mahjong/Makefile	Tue Nov 19 07:31:11 2013	(r334284)
+++ head/games/mahjong/Makefile	Tue Nov 19 07:41:52 2013	(r334285)
@@ -2,32 +2,29 @@
 # $FreeBSD$
 
 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@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 @@ post-patch:
 		 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>

Modified: head/games/mahjong/distinfo
==============================================================================
--- head/games/mahjong/distinfo	Tue Nov 19 07:31:11 2013	(r334284)
+++ head/games/mahjong/distinfo	Tue Nov 19 07:41:52 2013	(r334285)
@@ -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

Modified: head/games/mahjong/pkg-descr
==============================================================================
--- head/games/mahjong/pkg-descr	Tue Nov 19 07:31:11 2013	(r334284)
+++ head/games/mahjong/pkg-descr	Tue Nov 19 07:41:52 2013	(r334285)
@@ -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/



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