Don't reach into other pkg's ${WRKDIR}. Add appropriate CONFLICTS between
the angband pkgs.
This commit is contained in:
parent
0d56a60aca
commit
6b7aad5d83
3 changed files with 13 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 1998/08/27 13:39:49 garbled Exp $
|
||||
# $NetBSD: Makefile,v 1.2 1998/12/31 15:19:13 tv Exp $
|
||||
#
|
||||
|
||||
DISTNAME= angband-283
|
||||
|
@ -8,8 +8,9 @@ MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/
|
|||
|
||||
MAINTAINER= root@garbled.net
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
CONFLICTS= angband-x11-*
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
MAKEFILE= Makefile.std
|
||||
ALL_TARGET= angband
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
3
games/angband-x11/files/md5
Normal file
3
games/angband-x11/files/md5
Normal file
|
@ -0,0 +1,3 @@
|
|||
$NetBSD: md5,v 1.1 1998/12/31 15:19:15 tv Exp $
|
||||
|
||||
MD5 (angband-283.tar.gz) = 33c56940cf2f9c7aa265204159ab1cf8
|
Loading…
Reference in a new issue