summaryrefslogtreecommitdiff
path: root/games/ufoai/Makefile
diff options
context:
space:
mode:
authorkefren <kefren@pkgsrc.org>2008-09-09 12:46:36 +0000
committerkefren <kefren@pkgsrc.org>2008-09-09 12:46:36 +0000
commitfaa237d5194a9fc4875592c23ed0531d3871f209 (patch)
treeb144494b29f7fcbec6917b5bc0bbc99b24aabd38 /games/ufoai/Makefile
parent7802e5d74ac5c25fdaa229fbd5855777af29d34c (diff)
downloadpkgsrc-faa237d5194a9fc4875592c23ed0531d3871f209.tar.gz
initial import of UFO: Alien Invasion, a game inspired by
the famous X-COM series
Diffstat (limited to 'games/ufoai/Makefile')
-rw-r--r--games/ufoai/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
new file mode 100644
index 00000000000..22a343bbcda
--- /dev/null
+++ b/games/ufoai/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/09 12:46:36 kefren Exp $
+
+DISTNAME= ufoai-2.2.1
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufoai/}
+CATEGORIES= games
+
+DISTFILES= ${DISTNAME}-source.tar.bz2
+DISTFILES+= ${DISTNAME}-data.tar
+DISTFILES+= ${DISTNAME}-mappack.tar.bz2
+
+WRKSRC= ${WRKDIR}/${DISTNAME}-source
+
+MAINTAINER= pkgsrc-users@pkgsrc.org
+COMMENT= UFO Alien Invasion
+HOMEPAGE= http://ufoai.sourceforge.net/
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= tar gmake
+MAKE_JOBS_SAFE= no
+
+do-extract:
+ cd ${WRKDIR} && ${TAR} jxf ${DISTDIR}/${DISTNAME}-source.tar.bz2
+
+post-build:
+ cd ${WRKSRC} && ${GMAKE} lang # && ${GMAKE} maps
+
+post-install:
+ ${TAR} xf ${DISTDIR}/${DISTNAME}-data.tar -C ${PREFIX}/share/ufoai
+ ${TAR} jxf ${DISTDIR}/${DISTNAME}-mappack.tar.bz2 -C ${PREFIX}/share/ufoai
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL_ttf/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"