ports/173179: [PATCH] games/aop: Makefile changed, OptionsNG, take maintainership

nemysis nemysis at gmx.ch
Fri Feb 22 12:00:02 UTC 2013


The following reply was made to PR ports/173179; it has been noted by GNATS.

From: nemysis <nemysis at gmx.ch>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/173179: [PATCH] games/aop: Makefile changed, OptionsNG,
 take maintainership
Date: Fri, 22 Feb 2013 12:52:32 +0100

 --MP_/xvkFXN_ap=hz5tsZ.66ylY/
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Removed:
 BUILD_DEPENDS= jpegtopnm:${PORTSDIR}/graphics/netpbm
 
 Added in Makefile:
                SF/nemysisfreebsdp/:icons
 DISTFILES=     ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
                ${PORTNAME}.png:icons
 DIST_SUBDIR=   ${PORTNAME} <-- Because isn't good to have png in /usr/ports/distfiles
 EXTRACT_ONLY=  ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 ...
 --MP_/xvkFXN_ap=hz5tsZ.66ylY/
 Content-Type: text/x-patch
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=aop.diff
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/games/aop/Makefile ./Makefile
 --- /usr/ports/games/aop/Makefile	2013-01-14 17:55:33.000000000 +0100
 +++ ./Makefile	2013-02-22 12:39:25.000000000 +0100
 @@ -7,24 +7,46 @@
  
  PORTNAME=	aop
  PORTVERSION=	0.6
 +PORTREVISION=	1
  CATEGORIES=	games
 -MASTER_SITES=	http://raffi.at/code/aop/
 +MASTER_SITES=	http://raffi.at/code/aop/ \
 +		SF/nemysisfreebsdp/:icons
 +DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
 +		${PORTNAME}.png:icons
 +DIST_SUBDIR=	${PORTNAME}
 +EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
  
 -MAINTAINER=	ports at FreeBSD.org
 -COMMENT=	A curses based arcade game with only 64 lines of code
 +MAINTAINER=	nemysis at gmx.ch
 +COMMENT=	Ncurses based arcade game with only 64 lines of code
  
 -DOCS=		COPYING README
 +LICENSE=	GPLv2
 +
 +ALL_TARGET=	#empty
 +
 +PORTDOCS=	README
 +
 +OPTIONS_DEFINE=	DOCS
 +
 +.include <bsd.port.options.mk>
  
  post-patch:
  	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
  		${WRKSRC}/Makefile
  
 -.if !defined(NOPORTDOCS)
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MDOCS}
 +PLIST_SUB+=	PORTDOCS=""
 +.else
 +PLIST_SUB+=	PORTDOCS="@comment "
 +.endif
 +
  post-install:
 -	@${MKDIR} ${DOCSDIR}
 -.for ii in ${DOCS}
 -	@${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
 -.endfor
 +	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
 +
 +.if ${PORT_OPTIONS:MDOCS}
 +	${MKDIR} ${DOCSDIR}
 +	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
  .endif
  
  .include <bsd.port.mk>
 diff -ruN --exclude=CVS /usr/ports/games/aop/distinfo ./distinfo
 --- /usr/ports/games/aop/distinfo	2013-01-14 17:55:33.000000000 +0100
 +++ ./distinfo	2013-02-22 12:39:28.000000000 +0100
 @@ -1,2 +1,4 @@
 -SHA256 (aop-0.6.tar.gz) = 68a8b6b8f08216b31895d536f7dc4beb137a787fd17096da2d46fd863497f65a
 -SIZE (aop-0.6.tar.gz) = 11811
 +SHA256 (aop/aop-0.6.tar.gz) = 68a8b6b8f08216b31895d536f7dc4beb137a787fd17096da2d46fd863497f65a
 +SIZE (aop/aop-0.6.tar.gz) = 11811
 +SHA256 (aop/aop.png) = 190add7be596e6ed2f77be9c87fd182d2d3bf941599cdbf762452df0805a3401
 +SIZE (aop/aop.png) = 2470
 diff -ruN --exclude=CVS /usr/ports/games/aop/files/patch-aa ./files/patch-aa
 --- /usr/ports/games/aop/files/patch-aa	2013-01-14 17:55:33.000000000 +0100
 +++ ./files/patch-aa	1970-01-01 01:00:00.000000000 +0100
 @@ -1,11 +0,0 @@
 ---- Makefile    Thu Apr 22 23:03:07 2004
 -+++ Makefile.orig       Thu Apr 22 23:03:03 2004
 -@@ -3,6 +3,7 @@
 -
 - aop: aop.c
 -
 -+all:
 - install: aop
 -        install -d /usr/local/bin
 -        install -d /usr/local/share/aop
 -
 diff -ruN --exclude=CVS /usr/ports/games/aop/pkg-descr ./pkg-descr
 --- /usr/ports/games/aop/pkg-descr	2013-01-14 17:55:33.000000000 +0100
 +++ ./pkg-descr	2013-02-22 12:33:19.000000000 +0100
 @@ -4,4 +4,4 @@
  number of moves and don't losing any time. Lost lifes (0) can easily be picked
  up by simply drive over them.
  
 -WWW:	http://aop.raffi.at/
 +WWW: http://aop.raffi.at/
 diff -ruN --exclude=CVS /usr/ports/games/aop/pkg-plist ./pkg-plist
 --- /usr/ports/games/aop/pkg-plist	2013-01-14 17:55:33.000000000 +0100
 +++ ./pkg-plist	2013-02-10 16:21:02.000000000 +0100
 @@ -1,16 +1,16 @@
  bin/aop
 -share/aop/aop-level-01.txt
 -share/aop/aop-level-02.txt
 -share/aop/aop-level-03.txt
 -share/aop/aop-level-04.txt
 -share/aop/aop-level-05.txt
 -share/aop/aop-level-06.txt
 -share/aop/aop-level-07.txt
 -share/aop/aop-level-08.txt
 -share/aop/aop-level-09.txt
 -share/aop/aop-level-10.txt
 -share/aop/aop-level-11.txt
 -%%PORTDOCS%%%%DOCSDIR%%/COPYING
 +%%DATADIR%%/aop-level-01.txt
 +%%DATADIR%%/aop-level-02.txt
 +%%DATADIR%%/aop-level-03.txt
 +%%DATADIR%%/aop-level-04.txt
 +%%DATADIR%%/aop-level-05.txt
 +%%DATADIR%%/aop-level-06.txt
 +%%DATADIR%%/aop-level-07.txt
 +%%DATADIR%%/aop-level-08.txt
 +%%DATADIR%%/aop-level-09.txt
 +%%DATADIR%%/aop-level-10.txt
 +%%DATADIR%%/aop-level-11.txt
  %%PORTDOCS%%%%DOCSDIR%%/README
 +share/pixmaps/aop.png
  %%PORTDOCS%%@dirrm %%DOCSDIR%%
 - at dirrm share/aop
 + at dirrm %%DATADIR%%
 ===> Done
 
 --MP_/xvkFXN_ap=hz5tsZ.66ylY/--


More information about the freebsd-ports-bugs mailing list