summaryrefslogtreecommitdiff
path: root/games/craft/Makefile
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-10-13 00:37:33 +0000
committergarbled <garbled@pkgsrc.org>1998-10-13 00:37:33 +0000
commitd1420ff224f5f157e63b73450b90a7f5120f94d8 (patch)
tree9fc3522556c95176fbe7e36cb3a125508fc9dcbc /games/craft/Makefile
parent395d89a575912f7829305d3a19a498d9bcc990a6 (diff)
downloadpkgsrc-d1420ff224f5f157e63b73450b90a7f5120f94d8.tar.gz
Initial import of craft-3.5
a Warcraft-like game for X11
Diffstat (limited to 'games/craft/Makefile')
-rw-r--r--games/craft/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/craft/Makefile b/games/craft/Makefile
new file mode 100644
index 00000000000..7acaceeb500
--- /dev/null
+++ b/games/craft/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 00:37:33 garbled Exp $
+
+DISTNAME= craftcc35
+PKGNAME= craft-3.5
+CATEGORIES= games x11
+MASTER_SITES= ftp://borneo.gmd.de/pub/as/janus/craft/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://borneo.gmd.de/~hua/
+
+NO_WRKSUBDIR= yes
+USE_GMAKE= yes
+USE_X11= yes
+
+post-patch:
+ ${RM} -f ${WRKSRC}/hcc/hcc
+ ${CP} ${WRKSRC}/.windefaults.params ${WRKSRC}/foo
+ ${SED} -e 's+buttons+${PREFIX}/share/craft/buttons+' <${WRKSRC}/foo> ${WRKSRC}/.windefaults.params
+ ${CP} ${WRKSRC}/win.hc ${WRKSRC}/foo
+ ${SED} -e 's+@PREFIX@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/win.hc
+ ${CP} ${WRKSRC}/setupedit.hc ${WRKSRC}/foo
+ ${SED} -e 's+@PREFIX@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/setupedit.hc
+ ${CP} ${WRKSRC}/option_menu.hc ${WRKSRC}/foo
+ ${SED} -e 's+@PREFIX@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/option_menu.hc
+ ${CP} ${WRKSRC}/craft_def.h ${WRKSRC}/foo
+ ${SED} -e 's+@PREFIX@+${PREFIX}+' <${WRKSRC}/foo> ${WRKSRC}/craft_def.h
+ ${RM} -f ${WRKSRC}/foo
+
+.include "../../mk/bsd.pkg.mk"