svn commit: r314113 - in head/games: . hitori

Baptiste Daroussin bapt at FreeBSD.org
Wed Mar 13 21:25:53 UTC 2013


On Wed, Mar 13, 2013 at 09:20:45PM +0000, Pawel Pekala wrote:
> Author: pawel
> Date: Wed Mar 13 21:20:44 2013
> New Revision: 314113
> URL: http://svnweb.freebsd.org/changeset/ports/314113
> 
> Log:
>   Hitori is a small application written to allow one to play the eponymous
>   puzzle game, which is similar in theme to more popular puzzles such as Sudoku
>   created by Nikoli.
>   
>   WWW: https://live.gnome.org/Hitori
>   
>   PR:		ports/171323
>   Submitted by:	nemysis at gmx.ch
> 
> Added:
>   head/games/hitori/
>   head/games/hitori/Makefile   (contents, props changed)
>   head/games/hitori/distinfo   (contents, props changed)
>   head/games/hitori/pkg-descr   (contents, props changed)
>   head/games/hitori/pkg-plist   (contents, props changed)
> Modified:
>   head/games/Makefile
> 
> Modified: head/games/Makefile
> ==============================================================================
> --- head/games/Makefile	Wed Mar 13 20:54:33 2013	(r314112)
> +++ head/games/Makefile	Wed Mar 13 21:20:44 2013	(r314113)
> @@ -385,6 +385,7 @@
>      SUBDIR += hexxagon
>      SUBDIR += highmoon
>      SUBDIR += hinversi
> +    SUBDIR += hitori
>      SUBDIR += hllib
>      SUBDIR += hlstats
>      SUBDIR += hlstatsx
> 
> Added: head/games/hitori/Makefile
> ==============================================================================
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/games/hitori/Makefile	Wed Mar 13 21:20:44 2013	(r314113)
> @@ -0,0 +1,59 @@
> +# Created by: nemysis at gmx.ch
> +# $FreeBSD$
> +
> +PORTNAME=	hitori
> +PORTVERSION=	0.3.2
> +CATEGORIES=	games
> +MASTER_SITES=	GNOME
> +EXTRACT_SUFX=	.tar.xz
> +
> +MAINTAINER=	nemysis at gmx.ch
> +COMMENT=	Logic game similar to Sudoku
> +
> +LICENSE=	GPLv3 CCbyNCSA3
> +LICENSE_COMB=	dual
> +LICENSE_NAME_CCbyNCSA3=	Attribution-NonCommercial-ShareAlike 3.0 Unported
> +LICENSE_FILE_CCbyNCSA3=	${WRKSRC}/COPYING-DOCS
> +LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
> +
> +BUILD_DEPENDS=	xml2po:${PORTSDIR}/textproc/gnome-doc-utils
> +LIB_DEPENDS=	cairo:${PORTSDIR}/graphics/cairo
> +
> +GNU_CONFIGURE=	yes
> +USE_GMAKE=	yes
> +USE_GNOME=	glib20 gtk30
> +MAKE_JOBS_SAFE=	yes
> +INSTALLS_ICONS=	yes
> +
> +PORTDOCS=	AUTHORS ChangeLog MAINTAINERS NEWS README
> +
> +.include <bsd.port.options.mk>
> +
> +.if ${PORT_OPTIONS:MNLS}
> +USE_GETTEXT=	yes
> +PLIST_SUB+=	NLS=""
> +.else
> +CONFIGURE_ARGS+=	--disable-nls
> +PLIST_SUB+=	NLS="@comment "
> +.endif
> +
> +post-patch:
> +.if ${PORT_OPTIONS:MNLS}
> +	@${REINPLACE_CMD} -e 's|itlocaledir = $$(prefix)/$$(DATADIRNAME)/locale|itlocaledir = $$(prefix)/share/locale|' \
> +		${WRKSRC}/po/Makefile.in.in
> +.endif
> +
> +post-install:
> +	${INSTALL_DATA} ${WRKSRC}/data/icons/48x48/${PORTNAME}.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
> +
> +.if ${PORT_OPTIONS:MDOCS}
> +	${MKDIR} ${DOCSDIR}
> +	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
> +.endif
> +
> +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
> +USE_XZ=		yes
> +EXTRACT_DEPENDS+=	lzma:${PORTSDIR}/archivers/xz
> +.endif

beside the unusual ordering of the Makefile, this seems a duplicate of USE_XZ,
why doing so?

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130313/25ddc505/attachment.sig>


More information about the svn-ports-all mailing list