diff options
author | lme <lme@FreeBSD.org> | 2013-05-11 01:25:55 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2013-05-11 01:25:55 +0800 |
commit | 6f914c75b39bcb2da472f107c6499e47bb8e5481 (patch) | |
tree | 977296ae1f50f7e11b605eb254070ddd189e9ff9 | |
parent | fe5d8e5630c64c525214304685a8fc0d3e4018ca (diff) | |
download | freebsd-ports-gnome-6f914c75b39bcb2da472f107c6499e47bb8e5481.tar.gz freebsd-ports-gnome-6f914c75b39bcb2da472f107c6499e47bb8e5481.tar.zst freebsd-ports-gnome-6f914c75b39bcb2da472f107c6499e47bb8e5481.zip |
- Pass maintainership to submitter
- Trim Makefile header
- Add a new MASTER_SITE
- Shorten COMMENT
- Add LICENSE
- Convert to OptionsNG
- Remove patch-aa
PR: ports/173179
Submitted by: nemesys@gmx.ch
-rw-r--r-- | games/aop/Makefile | 37 | ||||
-rw-r--r-- | games/aop/distinfo | 2 | ||||
-rw-r--r-- | games/aop/files/patch-aa | 11 | ||||
-rw-r--r-- | games/aop/pkg-plist | 28 |
4 files changed, 38 insertions, 40 deletions
diff --git a/games/aop/Makefile b/games/aop/Makefile index 336389fc84e4..b3984fbda8a7 100644 --- a/games/aop/Makefile +++ b/games/aop/Makefile @@ -1,30 +1,39 @@ -# New ports collection makefile for: aop -# Date created: 22. April 2004 -# Whom: Aaron Zauner <az_mail@gmx.at> -# +# Created by: Aaron Zauner <az_mail@gmx.at> # $FreeBSD$ -# 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@FreeBSD.org -COMMENT= A curses based arcade game with only 64 lines of code +MAINTAINER= nemysis@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 --git a/games/aop/distinfo b/games/aop/distinfo index 2308aef7eee8..761f5858c374 100644 --- a/games/aop/distinfo +++ b/games/aop/distinfo @@ -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 --git a/games/aop/files/patch-aa b/games/aop/files/patch-aa deleted file mode 100644 index a4c2cb3fc5f1..000000000000 --- a/games/aop/files/patch-aa +++ /dev/null @@ -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 --git a/games/aop/pkg-plist b/games/aop/pkg-plist index 21b75c80fa90..4a4c09cc11e2 100644 --- a/games/aop/pkg-plist +++ b/games/aop/pkg-plist @@ -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%% -@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 +@dirrm %%DATADIR%% |