summaryrefslogtreecommitdiffstats
path: root/games/abuse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/abuse/Makefile')
-rw-r--r--games/abuse/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/abuse/Makefile b/games/abuse/Makefile
new file mode 100644
index 0000000..7647231
--- /dev/null
+++ b/games/abuse/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: abuse_data
+# Date created: 11 May 2002
+# Whom: des
+#
+# $FreeBSD$
+#
+
+PORTNAME= abuse
+PORTVERSION= 2.0
+CATEGORIES= games
+MASTER_SITES= http://www.labyrinth.net.au/~trandor/abuse/files/
+DISTFILES= abuse_datafiles.tar.gz
+EXTRACT_ONLY= # empty
+
+MAINTAINER= des@freebsd.org
+
+RUN_DEPENDS= abuse.sdl:${PORTSDIR}/games/abuse_sdl
+
+NO_BUILD= YES
+
+do-configure:
+ ${SED} -e 's,%%DATADIR%%,${DATADIR},' \
+ ${FILESDIR}/abuse.sh >${WRKDIR}/abuse
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/abuse ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+.for DISTFILE in ${DISTFILES}
+ ${TAR} zxf ${DISTDIR}/${DISTFILE} -C ${DATADIR}
+.endfor
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud