Date: Sat, 8 Aug 2009 03:00:13 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137528: Update port: games/awale to 1.4 Message-ID: <20090808030013.469cba3a.tkato432@yahoo.com> Resent-Message-ID: <200908071810.n77IA2Tf047469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137528 >Category: ports >Synopsis: Update port: games/awale to 1.4 >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 Aug 07 18:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.2-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 1.4 >How-To-Repeat: >Fix: diff -urN /usr/ports/games/awale/Makefile games/awale/Makefile --- /usr/ports/games/awale/Makefile 2009-02-24 02:38:04.000000000 +0900 +++ games/awale/Makefile 2009-08-08 01:51:00.000000000 +0900 @@ -6,29 +6,53 @@ # PORTNAME= awale -PORTVERSION= 1.3 -PORTREVISION= 1 +PORTVERSION= 1.4 CATEGORIES= games -MASTER_SITES= SAVANNAH CENKES +MASTER_SITES= SAVANNAH MAINTAINER= ports@FreeBSD.org COMMENT= African board game -USE_TK_RUN= yes -GNU_CONFIGURE= yes -PORTDOCS= AUTHORS ChangeLog NEWS README THANKS -MAN1= ${PORTNAME}.1 x${PORTNAME}.1 -PATCH_TK_SCRIPTS= src/xawale.tcl - -pre-patch: - @${REINPLACE_CMD} -e '/^#define.*VERSION/d' ${WRKSRC}/src/awale.c - @${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'\ - ${WRKSRC}/src/Makefile.in - -post-install: -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR} - @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +OPTIONS= GUI "Installs Tcl/Tk GUI" on + +MAN1= ${PORTNAME}.1 + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_GUI) +PLIST_SUB+= GUI="@comment " +.else +USE_TK_WRAPPER= yes +.include "${PORTSDIR}/Mk/bsd.tcl.mk" +MAN1+= x${PORTNAME}.1 +PLIST_SUB+= GUI="" +.endif + +post-patch: + @${REINPLACE_CMD} -e '/bin\/bash/d' ${WRKSRC}/src/xawale.tcl + @${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/src/x${PORTNAME} + @${ECHO_CMD} "${DATADIR}/xawale.tcl" >> ${WRKSRC}/src/x${PORTNAME} + +do-build: + (cd ${WRKSRC}/src && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${DATADIR} +.for f in README *.bmp *.gif *.ico *.png + ${INSTALL_DATA} ${WRKSRC}/src/${f} ${DATADIR} +.endfor +.if !defined(WITHOUT_X11) + ${INSTALL_SCRIPT} ${WRKSRC}/src/x${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/x${PORTNAME}.1 ${MANPREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/src/xawale.tcl ${DATADIR} +.endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in AUTHORS ChangeLog NEWS README THANKS + cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${DOCSDIR} +.endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -urN /usr/ports/games/awale/distinfo games/awale/distinfo --- /usr/ports/games/awale/distinfo 2008-10-30 04:56:41.000000000 +0900 +++ games/awale/distinfo 2009-08-06 04:48:13.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (awale-1.3.tar.gz) = 0c9eedec2086b5dcb1248a91262f59cc -SHA256 (awale-1.3.tar.gz) = 9c565f2b1eb8968bf0b5ccfc763cfc0961d67e186da2bf8beedb3b1e555ea194 -SIZE (awale-1.3.tar.gz) = 444752 +MD5 (awale-1.4.tar.gz) = d585597c4a85a21a9ceb2baba5f20d0e +SHA256 (awale-1.4.tar.gz) = 3429620880df22b76cbf0530a8c23d79124f0ff35077febabea8f26a925871b8 +SIZE (awale-1.4.tar.gz) = 485792 diff -urN /usr/ports/games/awale/pkg-plist games/awale/pkg-plist --- /usr/ports/games/awale/pkg-plist 2008-10-30 04:56:41.000000000 +0900 +++ games/awale/pkg-plist 2009-08-08 01:51:13.000000000 +0900 @@ -1,5 +1,5 @@ bin/awale -bin/xawale +%%GUI%%bin/xawale %%DATADIR%%/Awale.gif %%DATADIR%%/AwaleBanner.bmp %%DATADIR%%/README @@ -13,11 +13,23 @@ %%DATADIR%%/Trou07.gif %%DATADIR%%/Trou08.gif %%DATADIR%%/Trou09.gif -%%DATADIR%%/awale.png +%%DATADIR%%/Trou10.gif +%%DATADIR%%/Trou11.gif +%%DATADIR%%/Trou12.gif +%%DATADIR%%/Trou13.gif +%%DATADIR%%/Trou14.gif +%%DATADIR%%/Trou15.gif %%DATADIR%%/awale.ico +%%DATADIR%%/awale.png %%DATADIR%%/copyright.gif %%DATADIR%%/fr.gif %%DATADIR%%/sp.gif %%DATADIR%%/uk.gif -%%DATADIR%%/xawale.tcl +%%GUI%%%%DATADIR%%/xawale.tcl +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090808030013.469cba3a.tkato432>