ports/173179: [PATCH] games/aop: Makefile changed, OptionsNG, take maintainership
nemysis
nemysis at gmx.ch
Mon Oct 29 02:00:01 UTC 2012
>Number: 173179
>Category: ports
>Synopsis: [PATCH] games/aop: Makefile changed, OptionsNG, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 29 02:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
- Take maintainership
Removed file(s):
- files/patch-aa
- pkg-plist
Makefile changed:
+LICENSE= GPLv2
+BUILD_DEPENDS= jpegtopnm:${PORTSDIR}/graphics/netpbm
+ALL_TARGET= #empty
+PLIST_FILES=
+PORTDATA= *
+.include <bsd.port.options.mk>
+post-build:
Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: new ports should not set PORTREVISION.
WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors.
0 fatal errors and 3 warnings found.
port test: clean
Build log
https://redports.org/buildarchive/20121029012709-63676/
>Fix:
--- aop-0.6_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/aop/Makefile ./Makefile
--- /usr/ports/games/aop/Makefile 2009-07-06 09:09:20.000000000 +0200
+++ ./Makefile 2012-10-29 02:48:39.000000000 +0100
@@ -7,24 +7,46 @@
PORTNAME= aop
PORTVERSION= 0.6
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://raffi.at/code/aop/
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ambassador_of_pain.jpg
+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
+
+BUILD_DEPENDS= jpegtopnm:${PORTSDIR}/graphics/netpbm
+
+ALL_TARGET= #empty
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+PORTDATA= *
+PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/Makefile
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+post-build:
+ @(cd ${WRKSRC} && \
+ ${LOCALBASE}/bin/jpegtopnm ${DISTDIR}/${DIST_SUBDIR}/ambassador_of_pain.jpg | \
+ ${LOCALBASE}/bin/pamscale .123 | ${LOCALBASE}/bin/pnmtopng > ${PORTNAME}.png)
+
post-install:
- @${MKDIR} ${DOCSDIR}
-.for ii in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/${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 2011-07-03 16:23:27.000000000 +0200
+++ ./distinfo 2012-10-29 02:19:03.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/ambassador_of_pain.jpg) = 47f2d96f22e7fd7d10509e7877fb2202a31e39a6236f943230d87bb5955668d3
+SIZE (aop/ambassador_of_pain.jpg) = 6451
diff -ruN --exclude=CVS /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=CVS /usr/ports/games/aop/pkg-plist ./pkg-plist
--- /usr/ports/games/aop/pkg-plist 2004-05-05 09:47:26.000000000 +0200
+++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-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
--- aop-0.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list