ports/173179: [PATCH] games/aop: Makefile changed, OptionsNG, take maintainership
nemysis
nemysis at gmx.ch
Sat Nov 10 21:30:01 UTC 2012
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: Sat, 10 Nov 2012 22:20:13 +0100
--MP_/ye4fZWHcrvSF8AQeEbsdN7d
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Added pkg-plist and download for icon aop.png from SF.
--MP_/ye4fZWHcrvSF8AQeEbsdN7d
Content-Type: text/x-patch
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=aop.diff
=3D=3D=3D> Generating patch
=3D=3D=3D> Viewing diff with more
diff -ruN --exclude=3DCVS /usr/ports/games/aop/Makefile ./Makefile
--- /usr/ports/games/aop/Makefile 2009-07-06 09:09:20.000000000 +0200
+++ ./Makefile 2012-11-10 22:14:51.000000000 +0100
@@ -7,24 +7,38 @@
=20
PORTNAME=3D aop
PORTVERSION=3D 0.6
+PORTREVISION=3D 1
CATEGORIES=3D games
-MASTER_SITES=3D http://raffi.at/code/aop/
+MASTER_SITES=3D http://raffi.at/code/aop/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES=3D ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR=3D ${PORTNAME}
+EXTRACT_ONLY=3D ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
=20
-MAINTAINER=3D ports at FreeBSD.org
-COMMENT=3D A curses based arcade game with only 64 lines of code
+MAINTAINER=3D nemysis at gmx.ch
+COMMENT=3D Ncurses based arcade game with only 64 lines of code
=20
-DOCS=3D COPYING README
+LICENSE=3D GPLv2
+
+BUILD_DEPENDS=3D jpegtopnm:${PORTSDIR}/graphics/netpbm
+
+ALL_TARGET=3D #empty
+
+PORTDOCS=3D README
=20
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/Makefile
=20
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${DOCSDIR}
-.for ii in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share=
/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
=20
.include <bsd.port.mk>
diff -ruN --exclude=3DCVS /usr/ports/games/aop/distinfo ./distinfo
--- /usr/ports/games/aop/distinfo 2011-07-03 16:23:27.000000000 +0200
+++ ./distinfo 2012-11-10 22:14:57.000000000 +0100
@@ -1,2 +1,4 @@
-SHA256 (aop-0.6.tar.gz) =3D 68a8b6b8f08216b31895d536f7dc4beb137a787fd17096=
da2d46fd863497f65a
-SIZE (aop-0.6.tar.gz) =3D 11811
+SHA256 (aop/aop-0.6.tar.gz) =3D 68a8b6b8f08216b31895d536f7dc4beb137a787fd1=
7096da2d46fd863497f65a
+SIZE (aop/aop-0.6.tar.gz) =3D 11811
+SHA256 (aop/aop.png) =3D 190add7be596e6ed2f77be9c87fd182d2d3bf941599cdbf76=
2452df0805a3401
+SIZE (aop/aop.png) =3D 2470
diff -ruN --exclude=3DCVS /usr/ports/games/aop/files/patch-aa ./files/patch=
-aa
--- /usr/ports/games/aop/files/patch-aa 2004-05-05 09:47:27.000000000 +0200
+++ ./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=3DCVS /usr/ports/games/aop/pkg-plist ./pkg-plist
--- /usr/ports/games/aop/pkg-plist 2004-05-05 09:47:26.000000000 +0200
+++ ./pkg-plist 2012-11-10 22:04:52.000000000 +0100
@@ -1,16 +1,14 @@
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
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm share/aop
+%%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
+share/pixmaps/aop.png
+ at dirrm %%DATADIR%%
=3D=3D=3D> Done
--MP_/ye4fZWHcrvSF8AQeEbsdN7d--
More information about the freebsd-ports-bugs
mailing list