summaryrefslogtreecommitdiff
path: root/games/crossfire-cli/Makefile
diff options
context:
space:
mode:
authorgarbled <garbled>2000-12-13 08:19:20 +0000
committergarbled <garbled>2000-12-13 08:19:20 +0000
commitd70d464e06e52f61294986756064fac808497924 (patch)
treebbc56a8322f443c7aabcc21cc9c240da471798eb /games/crossfire-cli/Makefile
parent2559e1622c1069be06c3f96f2fea70462fc3da1d (diff)
downloadpkgsrc-d70d464e06e52f61294986756064fac808497924.tar.gz
This is the client side of the new split client/server crossfire pkg.
Again, too many changes to list.
Diffstat (limited to 'games/crossfire-cli/Makefile')
-rw-r--r--games/crossfire-cli/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/games/crossfire-cli/Makefile b/games/crossfire-cli/Makefile
new file mode 100644
index 00000000000..285be9eab42
--- /dev/null
+++ b/games/crossfire-cli/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/13 08:19:20 garbled Exp $
+#
+
+DISTNAME= crossfire-client-0.95.8
+PKGNAME= crossfire_client-0.95.8
+CATEGORIES= games x11
+MASTER_SITES= ftp://ftp.ifi.uio.no/pub/crossfire/
+DISTFILES= ${CF_SRC} ${CF_SND}
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://crossfire.real-time.com/
+
+DEPENDS+= gtk+>=1.2.4:../../x11/gtk
+DEPENDS+= png>=1.0.3:../../graphics/png
+
+EXTRACT_ONLY= ${CF_SRC}
+
+CF_SRC= crossfire-client-0.95.8.tar.gz
+CF_SND= client-0.95.2-au-sounds.tgz
+
+USE_XPM= yes
+USE_PERL5= yes
+USE_X11= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+SCRIPTS_ENV+= ${SCRIPTSDIR}
+CONFIGURE_ARGS+= --prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-includes=-I${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-sound-dir=${LOCALBASE}/share/cfclient/sounds
+
+pre-build:
+ cd ${WRKSRC} && ${MAKE} soundsdef.h
+
+post-install:
+ @${MKDIR} ${LOCALBASE}/share/cfclient
+ cd ${LOCALBASE}/share/cfclient && \
+ ${GZCAT} ${DISTDIR}/${CF_SND} | ${GTAR} xmf -
+ @chown -R root:games ${LOCALBASE}/share/cfclient
+
+.include "../../mk/bsd.pkg.mk"