summaryrefslogtreecommitdiff
path: root/games/angband-x11/Makefile
diff options
context:
space:
mode:
authortv <tv>1998-12-31 15:19:13 +0000
committertv <tv>1998-12-31 15:19:13 +0000
commit55304dfa5086da92beb71f525975859a0b60fbd1 (patch)
tree6291b461c4bcc026bf019c7deafefc16dac1ef3c /games/angband-x11/Makefile
parent4882446de865b7409be63a96a886402d9b9a6ec7 (diff)
downloadpkgsrc-55304dfa5086da92beb71f525975859a0b60fbd1.tar.gz
Don't reach into other pkg's ${WRKDIR}. Add appropriate CONFLICTS between
the angband pkgs.
Diffstat (limited to 'games/angband-x11/Makefile')
-rw-r--r--games/angband-x11/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
index f183a00de88..c163701516a 100644
--- a/games/angband-x11/Makefile
+++ b/games/angband-x11/Makefile
@@ -1,34 +1,28 @@
-# $NetBSD: Makefile,v 1.1 1998/08/27 13:22:08 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/31 15:19:15 tv Exp $
#
DISTNAME= angband-283
PKGNAME= angband-x11-2.8.3
CATEGORIES= games x11
-MASTER_SITES= # empty
+MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/
MAINTAINER= root@garbled.net
-WRKSRC= ../angband-tty/work/${DISTNAME}/src
+CONFLICTS= angband-tty-*
-NO_CHECKSUM= yes
-USE_X11= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= Makefile.std
ALL_TARGET= angband
-do-fetch: # empty
-do-extract:
- @mkdir work
- (cd ../angband-tty && make clean && make patch)
+PATCHFILES+= ${PKGSRCDIR}/games/angband-tty/patches/patch-*
+ALLFILES= ${DISTFILES} # don't checksum shared patches
do-install:
${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
- ${CP} -R ../angband-tty/work/${DISTNAME}/lib/* ${PREFIX}/share/angband
+ ${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband
chown -R bin:games ${PREFIX}/share/angband
chmod -R 0664 ${PREFIX}/share/angband/*
(cd ${PREFIX}/share/angband && chmod 0775 apex bone data edit file help info save user xtra)
${INSTALL} -c -s -o bin -g games -m 2755 ${WRKSRC}/angband ${PREFIX}/bin
-do-clean:
- @rm -rf work
-
.include "../../mk/bsd.pkg.mk"