aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-11-01 12:11:52 +0800
committeracm <acm@FreeBSD.org>2006-11-01 12:11:52 +0800
commit486c20d9eefe8a8645cac3682f7ffa94ca538477 (patch)
tree64cc64a33305a62fe91299be994150792389b3ac /games
parent8ceecfd235dd65d58f34a288dee321784500e50c (diff)
downloadfreebsd-ports-gnome-486c20d9eefe8a8645cac3682f7ffa94ca538477.tar.gz
freebsd-ports-gnome-486c20d9eefe8a8645cac3682f7ffa94ca538477.tar.zst
freebsd-ports-gnome-486c20d9eefe8a8645cac3682f7ffa94ca538477.zip
- New port: games/dangerdeep-data
The Danger From the Deep data files WWW: http://www.dangerdeep.net
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/dangerdeep-data/Makefile40
-rw-r--r--games/dangerdeep-data/distinfo3
-rw-r--r--games/dangerdeep-data/pkg-descr3
4 files changed, 47 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 6762e8ef13d5..eb7645dc81a6 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -130,6 +130,7 @@
SUBDIR += daimonin-client
SUBDIR += dangen
SUBDIR += dangerdeep
+ SUBDIR += dangerdeep-data
SUBDIR += darkplaces
SUBDIR += deal
SUBDIR += defendguin
diff --git a/games/dangerdeep-data/Makefile b/games/dangerdeep-data/Makefile
new file mode 100644
index 000000000000..58a33e8a1b81
--- /dev/null
+++ b/games/dangerdeep-data/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: dangerdeep-data
+# Date created: 2006-10-12
+# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= data
+PORTVERSION= 0.2.0
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= dangerdeep
+PKGNAMEPREFIX= dangerdeep-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= The Danger from the Deep data files
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+DATADIR= share/${PKGNAMEPREFIX:S/-//}
+PLIST= ${WRKDIR}/pkg-plist
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @cd ${WRKSRC} && \
+ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
+ ${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
+ @${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
+
+do-install:
+ @${MKDIR} ${PREFIX}/${DATADIR}
+ cd ${WRKSRC} && \
+ ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/{}" \;
+
+.include <bsd.port.mk>
diff --git a/games/dangerdeep-data/distinfo b/games/dangerdeep-data/distinfo
new file mode 100644
index 000000000000..4008ed44b66e
--- /dev/null
+++ b/games/dangerdeep-data/distinfo
@@ -0,0 +1,3 @@
+MD5 (dangerdeep/dangerdeep-data-0.2.0.zip) = 931d035cdf07d29b57e4797218fe53ff
+SHA256 (dangerdeep/dangerdeep-data-0.2.0.zip) = 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10
+SIZE (dangerdeep/dangerdeep-data-0.2.0.zip) = 54163740
diff --git a/games/dangerdeep-data/pkg-descr b/games/dangerdeep-data/pkg-descr
new file mode 100644
index 000000000000..a488f4d7abf0
--- /dev/null
+++ b/games/dangerdeep-data/pkg-descr
@@ -0,0 +1,3 @@
+The Danger From the Deep data files
+
+WWW: http://www.dangerdeep.net