summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-03-12 15:18:12 +0000
committerrillig <rillig@pkgsrc.org>2006-03-12 15:18:12 +0000
commitb8275b2a18ee0508894b569701096f28248c1082 (patch)
tree2e2e8bd83f768e6d3874acaaba1002111016199e /games
parenta6af52b17d3b66bf3dd223de7850c4487f7a93f0 (diff)
downloadpkgsrc-b8275b2a18ee0508894b569701096f28248c1082.tar.gz
Imported aop from pkgsrc-wip.
The goal of Aop (Ambassador Of Pain) is is to drive the hoovercraft (O) trough the level into the 'at' sign (@) and reach as much points as possible by reducing the number of moves and not losing any time. Lost lifes (0) can easily be picked up by simply drive over them. Packaged by Antoine Reilles.
Diffstat (limited to 'games')
-rw-r--r--games/aop/DESCR4
-rw-r--r--games/aop/Makefile19
-rw-r--r--games/aop/PLIST14
-rw-r--r--games/aop/distinfo6
-rw-r--r--games/aop/patches/patch-aa19
5 files changed, 62 insertions, 0 deletions
diff --git a/games/aop/DESCR b/games/aop/DESCR
new file mode 100644
index 00000000000..716020cfabc
--- /dev/null
+++ b/games/aop/DESCR
@@ -0,0 +1,4 @@
+The goal of Aop (Ambassador Of Pain) is is to drive the hoovercraft
+(O) trough the level into the 'at' sign (@) and reach as much points
+as possible by reducing the number of moves and not losing any time.
+Lost lifes (0) can easily be picked up by simply drive over them.
diff --git a/games/aop/Makefile b/games/aop/Makefile
new file mode 100644
index 00000000000..5a82e2867fa
--- /dev/null
+++ b/games/aop/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/12 15:18:12 rillig Exp $
+
+DISTNAME= aop-0.6
+CATEGORIES= games
+MASTER_SITES= http://raffi.at/code/aop/
+
+MAINTAINER= tonio@NetBSD.org
+HOMEPAGE= http://raffi.at/view/code/aop/
+COMMENT= Aop is a curses based arcade game with only 64 lines of sourcecode
+
+SUBST_CLASSES+= destination
+SUBST_FILES.destination=aop.c Makefile
+SUBST_STAGE.destination=pre-configure
+SUBST_SED.destination= -e 's:/usr/local:${PREFIX}:g'
+
+BUILD_TARGET= aop
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/aop/PLIST b/games/aop/PLIST
new file mode 100644
index 00000000000..9d13a31a79f
--- /dev/null
+++ b/games/aop/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/12 15:18:12 rillig Exp $
+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
+@dirrm share/aop
diff --git a/games/aop/distinfo b/games/aop/distinfo
new file mode 100644
index 00000000000..44902fb7f70
--- /dev/null
+++ b/games/aop/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/03/12 15:18:12 rillig Exp $
+
+SHA1 (aop-0.6.tar.gz) = 88bc2216f1898c42d8223ebaf0bfe665d03d0074
+RMD160 (aop-0.6.tar.gz) = 2c329b08f14455b181bf2be15e90790a718f50e4
+Size (aop-0.6.tar.gz) = 11811 bytes
+SHA1 (patch-aa) = 5bd877de15ad1546f37d830e75013364d6727c19
diff --git a/games/aop/patches/patch-aa b/games/aop/patches/patch-aa
new file mode 100644
index 00000000000..c33781b476b
--- /dev/null
+++ b/games/aop/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/03/12 15:18:12 rillig Exp $
+
+--- Makefile.orig 2005-04-25 23:27:12.000000000 +0200
++++ Makefile 2005-04-25 23:30:38.000000000 +0200
+@@ -4,10 +4,10 @@
+ aop: aop.c
+
+ install: aop
+- install -d /usr/local/bin
+- install -d /usr/local/share/aop
+- install -m 755 aop /usr/local/bin/aop
+- install -m 644 aop-level-*.txt /usr/local/share/aop/
++ ${BSD_INSTALL_PROGRAM_DIR} ${PREFIX}/bin
++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/aop
++ ${BSD_INSTALL_PROGRAM} aop ${PREFIX}/bin/aop
++ ${BSD_INSTALL_DATA} aop-level-*.txt ${PREFIX}/share/aop/
+
+ clean:
+ rm -f aop core* *~