diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-05-25 02:37:17 +0800 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-05-25 02:37:17 +0800 |
commit | 1d77f1a2ccb85d590f564da111b0b9a766bf1b2d (patch) | |
tree | a51677eef33c2e71ab775efecaae2ec7342f1541 /games | |
parent | b8c36d553e9ae8d17578a7c00d815129235b3e41 (diff) | |
download | freebsd-ports-gnome-1d77f1a2ccb85d590f564da111b0b9a766bf1b2d.tar.gz freebsd-ports-gnome-1d77f1a2ccb85d590f564da111b0b9a766bf1b2d.tar.zst freebsd-ports-gnome-1d77f1a2ccb85d590f564da111b0b9a766bf1b2d.zip |
Vega Strike data files
This port install the data files needed to run Vega Strike opensource
3D space simulator
WWW: http://vegastrike.sourceforge.net
PR: ports/123537
Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/vegastrike-data/Makefile | 41 | ||||
-rw-r--r-- | games/vegastrike-data/distinfo | 3 | ||||
-rw-r--r-- | games/vegastrike-data/pkg-descr | 6 |
4 files changed, 51 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 4171a67a6249..a43929f6409a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -834,6 +834,7 @@ SUBDIR += vdrift SUBDIR += vdrift-data SUBDIR += vectoroids + SUBDIR += vegastrike-data SUBDIR += viruskiller SUBDIR += volleyball SUBDIR += vor diff --git a/games/vegastrike-data/Makefile b/games/vegastrike-data/Makefile new file mode 100644 index 000000000000..02035f3d4879 --- /dev/null +++ b/games/vegastrike-data/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: vegastrike-data +# Date created: 05 May 2008 +# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> +# +# $FreeBSD$ +# + +PORTNAME= vegastrike +PORTVERSION= 0.5.0 +CATEGORIES= games +MASTER_SITES= SF +PKGNAMESUFFIX= -data +DISTNAME= vegastrike-linux-${PORTVERSION} + +MAINTAINER= amdmi3@amdmi3.ru +COMMENT= Vega Strike data files + +USE_BZIP2= yes +NO_BUILD= yes + +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +post-patch: + @${RM} -rf ${WRKSRC}/bin ${WRKSRC}/I* ${WRKSRC}/.vsinstall.sh.swp + @${FIND} ${WRKSRC} -name "Makefile.am" -delete + +pre-install: + @${RM} -f ${PLIST} + @cd ${WRKSRC} && \ + ${FIND} . -type f -mindepth 1 | ${SORT} | \ + ${SED} -e 's|^\./||; s|^|%%DATADIR%%/|' >> ${PLIST} && \ + ${FIND} . -type d -mindepth 1 | ${SORT} -r | \ + ${SED} -e 's|^\./||; s|^|@dirrm %%DATADIR%%/|' >> ${PLIST} + @${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST} + +do-install: + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR} + +.include <bsd.port.mk> diff --git a/games/vegastrike-data/distinfo b/games/vegastrike-data/distinfo new file mode 100644 index 000000000000..86868470b2d1 --- /dev/null +++ b/games/vegastrike-data/distinfo @@ -0,0 +1,3 @@ +MD5 (vegastrike-linux-0.5.0.tar.bz2) = 9726ff28050b35b66d361bd839468189 +SHA256 (vegastrike-linux-0.5.0.tar.bz2) = e273191dcdb3bed3edeff2618b0dfac56cc0ae2d2fe2855b4376c80ccadee02d +SIZE (vegastrike-linux-0.5.0.tar.bz2) = 520498096 diff --git a/games/vegastrike-data/pkg-descr b/games/vegastrike-data/pkg-descr new file mode 100644 index 000000000000..3f814e8d09a8 --- /dev/null +++ b/games/vegastrike-data/pkg-descr @@ -0,0 +1,6 @@ +Vega Strike data files + +This port install the data files needed to run Vega Strike opensource +3D space simulator + +WWW: http://vegastrike.sourceforge.net |