diff options
author | acm <acm@FreeBSD.org> | 2009-04-29 08:11:21 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2009-04-29 08:11:21 +0800 |
commit | 5a8d10b33f32364ef08f0c16358b91aaff4ca79d (patch) | |
tree | 61da39dbd66156e528812367e295537b5fe7df7a /games/naev | |
parent | 1520f78a800879d748703a5c95ac73361d416943 (diff) | |
download | freebsd-ports-gnome-5a8d10b33f32364ef08f0c16358b91aaff4ca79d.tar.gz freebsd-ports-gnome-5a8d10b33f32364ef08f0c16358b91aaff4ca79d.tar.zst freebsd-ports-gnome-5a8d10b33f32364ef08f0c16358b91aaff4ca79d.zip |
- New port: games/naev and games/naev-data
NAEV is a 2d action/rpg space game that combines elements from the action, rpg
and simulation genres.
WWW: http://code.google.com/p/naev/
Diffstat (limited to 'games/naev')
-rw-r--r-- | games/naev/Makefile | 51 | ||||
-rw-r--r-- | games/naev/distinfo | 3 | ||||
-rw-r--r-- | games/naev/files/patch-Makefile | 16 | ||||
-rw-r--r-- | games/naev/files/pkg-message.in | 11 | ||||
-rw-r--r-- | games/naev/pkg-descr | 4 |
5 files changed, 85 insertions, 0 deletions
diff --git a/games/naev/Makefile b/games/naev/Makefile new file mode 100644 index 000000000000..f9206e2f87a4 --- /dev/null +++ b/games/naev/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: naev +# Date created: 2009-04-26 +# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= naev +PORTVERSION= 0.3.9 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= A 2d action/rpg space game + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + freetype:${PORTSDIR}/print/freetype2 +RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data + +USE_BZIP2= yes +USE_DOS2UNIX= conf.example +USE_GL= gl +USE_GMAKE= yes +USE_GNOME= libxml2 +USE_SDL= sdl image mixer + +PLIST_FILES= bin/${PORTNAME} +SUB_FILES= pkg-message + +.include <bsd.port.pre.mk> + +.if !defined(NOPORTDOCS) +PLIST_FILES+= %%DOCSDIR%%/conf.example +PLIST_DIRS= %%DOCSDIR%% +.endif + +post-patch: + @${REINPLACE_CMD} -i "" -e 's|%%DATADIR%%|${DATADIR}|g' -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/conf.example ${DOCSDIR} +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/games/naev/distinfo b/games/naev/distinfo new file mode 100644 index 000000000000..dd5d5c56f13e --- /dev/null +++ b/games/naev/distinfo @@ -0,0 +1,3 @@ +MD5 (naev/naev-0.3.9.tar.bz2) = 964ad3d816a677a7f060bae8e93fb0fd +SHA256 (naev/naev-0.3.9.tar.bz2) = c98618b517fb729ed06995eec8a02e6d0a4f95de2b7a073385acde9849765f54 +SIZE (naev/naev-0.3.9.tar.bz2) = 881254 diff --git a/games/naev/files/patch-Makefile b/games/naev/files/patch-Makefile new file mode 100644 index 000000000000..70eca2f1266f --- /dev/null +++ b/games/naev/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile 2009-04-24 14:27:38.000000000 -0500 ++++ Makefile 2009-04-28 17:32:14.000000000 -0500 +@@ -9,11 +9,11 @@ + # + # Possible choices: LINUX|FREEBSD|WIN32|MACOSX + # +-OS ?= LINUX ++OS ?= FREEBSD + + + # Data path +-#NDATA_DEF := \"../ndata\" ++NDATA_DEF := \"%%DATADIR%%/ndata-%%PORTVERSION%%\" + + + ifeq ($(OS),LINUX) diff --git a/games/naev/files/pkg-message.in b/games/naev/files/pkg-message.in new file mode 100644 index 000000000000..c39502c02138 --- /dev/null +++ b/games/naev/files/pkg-message.in @@ -0,0 +1,11 @@ +############################################################################### + +The NAEV space game was installed + +1) You can find the conf.lua config file into your ~/.naev/ directory + +2) See the example of config file at %%DOCSDIR%%/conf.example + +3) Enjoy it :) + +############################################################################### diff --git a/games/naev/pkg-descr b/games/naev/pkg-descr new file mode 100644 index 000000000000..985f1c60e03a --- /dev/null +++ b/games/naev/pkg-descr @@ -0,0 +1,4 @@ +NAEV is a 2d action/rpg space game that combines elements from the action, rpg +and simulation genres. + +WWW: http://code.google.com/p/naev/ |