diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-02-19 19:43:17 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-02-19 19:43:17 +0000 |
commit | 18bce012d379739242d2dd7f1e6a18c5d84e1142 (patch) | |
tree | eb7646f503e5f376a10503c4ceb1a8e6f7b3c1f1 /games/gnushogi | |
parent | a2403adfd8ce8e276a54a2a4fad5d1d81edf3d8a (diff) | |
download | ports-18bce012d379739242d2dd7f1e6a18c5d84e1142.tar.gz ports-18bce012d379739242d2dd7f1e6a18c5d84e1142.zip |
Notes
Diffstat (limited to 'games/gnushogi')
-rw-r--r-- | games/gnushogi/Makefile | 21 | ||||
-rw-r--r-- | games/gnushogi/distinfo | 4 | ||||
-rw-r--r-- | games/gnushogi/files/patch-doc_gnushogi.texi (renamed from games/gnushogi/files/patch-doc::gnushogi.texinfo) | 6 | ||||
-rw-r--r-- | games/gnushogi/pkg-plist | 28 |
4 files changed, 12 insertions, 47 deletions
diff --git a/games/gnushogi/Makefile b/games/gnushogi/Makefile index 12fcb03c67e0..d8e74fe0578f 100644 --- a/games/gnushogi/Makefile +++ b/games/gnushogi/Makefile @@ -1,25 +1,19 @@ # Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> # $FreeBSD$ -PORTNAME= ${GNUSHOGI_PORTNAME} -PORTVERSION= ${GNUSHOGI_PORTVERSION} +PORTNAME= gnushogi +PORTVERSION= 1.4.2 CATEGORIES= games -MASTER_SITES= ${GNUSHOGI_MASTER_SITES} -MASTER_SITE_SUBDIR= ${GNUSHOGI_MASTER_SITE_SUBDIR} -DISTNAME= ${GNUSHOGI_DISTNAME} +MASTER_SITES= GNU MAINTAINER= johans@FreeBSD.org COMMENT= GNU version of Shogi -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-x --without-xshogi +GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INFO= gnushogi -.include "${.CURDIR}/../../games/gnushogi/Makefile.common" -.include <bsd.port.pre.mk> - post-extract: -@${RM} ${WRKSRC}/doc/gnushogi.info* @@ -28,6 +22,8 @@ post-patch: ${WRKSRC}/gnushogi/Makefile.in @${REINPLACE_CMD} -e '/HAVE_SETLINEBUF/s|ifdef|ifndef|' \ ${WRKSRC}/gnushogi/gnushogi.h + @${REINPLACE_CMD} -e '/<sys\/file.h>/d' \ + ${WRKSRC}/gnushogi/*dsp.c pre-build: cd ${WRKSRC}/doc && makeinfo --no-split gnushogi @@ -38,13 +34,10 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${INSTALL_DATA} ${WRKSRC}/gnushogi/gnushogi.bbk ${STAGEDIR}${DATADIR} @${INSTALL_DATA} ${WRKSRC}/doc/gnushogi.info ${STAGEDIR}${PREFIX}/info -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/BOOKFILES ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/PORTING ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/*.gam ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/doc/*.rules ${STAGEDIR}${DOCSDIR} -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/games/gnushogi/distinfo b/games/gnushogi/distinfo index 2612a2b78be2..1e983fdc4782 100644 --- a/games/gnushogi/distinfo +++ b/games/gnushogi/distinfo @@ -1,2 +1,2 @@ -SHA256 (gnushogi-1.4.0.tar.bz2) = 466730f54ee6d6ad61a06ccfccf2dc63e47559697116b143b93c624a9ca9b301 -SIZE (gnushogi-1.4.0.tar.bz2) = 644998 +SHA256 (gnushogi-1.4.2.tar.gz) = 1ecc48a866303c63652552b325d685e7ef5e9893244080291a61d96505d52b29 +SIZE (gnushogi-1.4.2.tar.gz) = 383434 diff --git a/games/gnushogi/files/patch-doc::gnushogi.texinfo b/games/gnushogi/files/patch-doc_gnushogi.texi index 5ff9faa55db1..d7695555ee28 100644 --- a/games/gnushogi/files/patch-doc::gnushogi.texinfo +++ b/games/gnushogi/files/patch-doc_gnushogi.texi @@ -1,5 +1,5 @@ ---- doc/gnushogi.texinfo.orig Sat Apr 27 00:42:22 2002 -+++ doc/gnushogi.texinfo Mon Mar 15 20:19:37 2004 +--- doc/gnushogi.texi.orig 2014-02-17 21:26:59.000000000 +0100 ++++ doc/gnushogi.texi 2014-02-19 20:38:54.000000000 +0100 @@ -3,6 +3,10 @@ @c % ** Start of header. @setfilename gnushogi.info @@ -10,4 +10,4 @@ +@end direntry @c % ** End of header. - @setchapternewpage odd + @dircategory Games diff --git a/games/gnushogi/pkg-plist b/games/gnushogi/pkg-plist index 24722b35ffd6..1f61b21a0314 100644 --- a/games/gnushogi/pkg-plist +++ b/games/gnushogi/pkg-plist @@ -2,34 +2,6 @@ bin/gnushogi man/man6/gnushogi.6.gz %%PORTDOCS%%%%DOCSDIR%%/BOOKFILES %%PORTDOCS%%%%DOCSDIR%%/PORTING -%%PORTDOCS%%%%DOCSDIR%%/gnushogi.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_1.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_2.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_3.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_4.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_5.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_6.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_7.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_8.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_9.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_10.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_11.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_12.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_13.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_14.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_15.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_16.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_17.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_18.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_19.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_20.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_21.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_22.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_23.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_24.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_abt.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_ovr.html -%%PORTDOCS%%%%DOCSDIR%%/gnushogi_toc.html %%PORTDOCS%%%%DOCSDIR%%/shogi.rules %%PORTDOCS%%%%DOCSDIR%%/tutorial1.gam %%PORTDOCS%%%%DOCSDIR%%/tutorial2.gam |