Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Feb 2014 13:05:39 +0000
From:      Max Brazhnikov <makc@freebsd.org>
To:        Rusmir Dusko <nemysis@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r342510 - head/games/cutemaze
Message-ID:  <7999310.FuPfOJuxd6@mercury.ph.man.ac.uk>
In-Reply-To: <201402041149.s14BnPX0031911@svn.freebsd.org>
References:  <201402041149.s14BnPX0031911@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 04 Feb 2014 11:49:25 +0000Tue Feb  4 11:49:25 2014 Rusmir Dusko wrote:
> Author: nemysis
> Date: Tue Feb  4 11:49:25 2014
> New Revision: 342510
> URL: http://svnweb.freebsd.org/changeset/ports/342510
> QAT: https://qat.redports.org/buildarchive/r342510/
> 
> Log:
>   - Update to 1.1.1, announce message is here:
>   
>       http://gottcode.org/cutemaze/#releasenotes
>   
>   - Add NEWS to DOCS
>   - Add NLS Option and REINPLACE
>   - Add OPTIONS_SUB
>   - Strip executable
>   - Change pkg-descr
> 
> Modified:
>   head/games/cutemaze/Makefile
>   head/games/cutemaze/distinfo
>   head/games/cutemaze/pkg-descr
>   head/games/cutemaze/pkg-plist
> 
> Modified: head/games/cutemaze/Makefile
> ==============================================================================
> --- head/games/cutemaze/Makefile	Tue Feb  4 11:41:50 2014	(r342509)
> +++ head/games/cutemaze/Makefile	Tue Feb  4 11:49:25 2014	(r342510)
> @@ -2,8 +2,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	cutemaze
> -PORTVERSION=	1.1.0
> -PORTREVISION=	3
> +PORTVERSION=	1.1.1
>  CATEGORIES=	games
>  MASTER_SITES=	http://gottcode.org/${PORTNAME}/
>  DISTNAME=	${PORTNAME}-${DISTVERSION}-src
> @@ -21,11 +20,22 @@ USE_QT4=	moc_build rcc_build uic_build i
>  		corelib gui svg
>  INSTALLS_ICONS=	yes
>  
> -PORTDOCS=	ChangeLog README
> +PORTDOCS=	ChangeLog NEWS README
>  
> -OPTIONS_DEFINE=	DOCS
> +OPTIONS_DEFINE=	DOCS NLS
> +OPTIONS_SUB=	yes
> +
> +.include <bsd.port.options.mk>
> +
> +post-patch:
> +.if ! ${PORT_OPTIONS:MNLS}
> +	@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
> +		${WRKSRC}/cutemaze.pro
> +.endif
>  
>  post-install:
> +	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
> +
>  .for d in 16x16 22x22 scalable
>  	@(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \
>  		${STAGEDIR}${PREFIX}/share/icons/oxygen)
> 
> Modified: head/games/cutemaze/distinfo
> ==============================================================================
> --- head/games/cutemaze/distinfo	Tue Feb  4 11:41:50 2014	(r342509)
> +++ head/games/cutemaze/distinfo	Tue Feb  4 11:49:25 2014	(r342510)
> @@ -1,2 +1,2 @@
> -SHA256 (cutemaze-1.1.0-src.tar.bz2) = cc039faf452f8c30fb00a90ba7571d688559c0df822fc213f3e78451921f9bef
> -SIZE (cutemaze-1.1.0-src.tar.bz2) = 249290
> +SHA256 (cutemaze-1.1.1-src.tar.bz2) = 3236d012af36a8390b86524e84d38baa40a12203a1e991c653203f3a23a7445d
> +SIZE (cutemaze-1.1.1-src.tar.bz2) = 370854
> 
> Modified: head/games/cutemaze/pkg-descr
> ==============================================================================
> --- head/games/cutemaze/pkg-descr	Tue Feb  4 11:41:50 2014	(r342509)
> +++ head/games/cutemaze/pkg-descr	Tue Feb  4 11:49:25 2014	(r342510)
> @@ -1,7 +1,6 @@
>  CuteMaze is a simple, top-down game in which mazes are randomly generated using
> -one of a choice of several different algorithms.
> -You move the character through the maze while hunting for targets
> -(cheese, by default)
> -the game is won once all of these targets have been picked up.
> +one of a choice of several different algorithms. You move the character through
> +the maze while hunting for targets (cheese, by default) the game is won once
> + all of these targets have been picked up.
>  
>  WWW: http://gottcode.org/cutemaze/
> 
> Modified: head/games/cutemaze/pkg-plist
> ==============================================================================
> --- head/games/cutemaze/pkg-plist	Tue Feb  4 11:41:50 2014	(r342509)
> +++ head/games/cutemaze/pkg-plist	Tue Feb  4 11:49:25 2014	(r342510)
> @@ -1,5 +1,15 @@
> -bin/cutemaze
> +%%QT_BINDIR%%/cutemaze

This part should be reverted.
Folks, please *review* what makeplist generates and don't commit it blindly.

Max



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