ports/173179: [PATCH] games/aop: Makefile changed, OptionsNG, take maintainership
nemysis
nemysis at gmx.ch
Tue Mar 19 16:10:01 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: Tue, 19 Mar 2013 17:06:07 +0100
--MP_/dnzRWRhSZo5IvkBXSUrffVB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Removed DOCS from pkg-plist.
--MP_/dnzRWRhSZo5IvkBXSUrffVB
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-03-19 17:02:43.000000000 +0100
@@ -1,30 +1,39 @@
-# New ports collection makefile for: aop
-# Date created: 22. April 2004
-# Whom: Aaron Zauner <az_mail at gmx.at>
-#
+# Created by: Aaron Zauner <az_mail at gmx.at>
# $FreeBSD: head/games/aop/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
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
+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
+
+.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>
+
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-03-19 17:00:09.000000000 +0100
@@ -1,2 +1,4 @@
SHA256 (aop-0.6.tar.gz) = 68a8b6b8f08216b31895d536f7dc4beb137a787fd17096da2d46fd863497f65a
SIZE (aop-0.6.tar.gz) = 11811
+SHA256 (aop.png) = 190add7be596e6ed2f77be9c87fd182d2d3bf941599cdbf762452df0805a3401
+SIZE (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-03-19 16:58:47.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%%
===> Done
--MP_/dnzRWRhSZo5IvkBXSUrffVB--
More information about the freebsd-ports-bugs
mailing list