Subject: pkg/17605: Angband 3.0.1 builds easily on NetBSD
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@ged.plethora.net>
List: netbsd-bugs
Date: 07/15/2002 15:19:22
>Number: 17605
>Category: pkg
>Synopsis: Angband should be updated to current version
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jul 15 13:22:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: seebs
>Release: NetBSD 1.6B
>Organization:
>Environment:
System: NetBSD ged.plethora.net 1.6B NetBSD 1.6B (GED) #3: Sun Jul 7 16:03:50 CDT 2002 seebs@ged.plethora.net:/usr/src/sys/arch/i386/compile/GED i386
Architecture: i386
Machine: i386
>Description:
Angband has recently been updated to 3.0.1, many many versions newer
than the 2.8.3 in pkgsrc
>How-To-Repeat:
Read their web site
>Fix:
Here's a makefile that builds an X11 version of Angband. It appears to
*require* X11 now, so this should not replace angband-tty just yet. This
uses no patches, but a very ugly configure thing, and I haven't made a "PLIST"
file for it. However, it works apart from that. :)
# $NetBSD: Makefile,v 1.10 2002/04/20 15:04:19 cjep Exp $
#
DISTNAME= angband-3.0.1
PKGNAME= angband-x11-3.0.1
CATEGORIES= games
MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SPOILERFILE}
MAINTAINER= root@garbled.net
HOMEPAGE= http://thangorodrim.angband.org/
COMMENT= Tolkien based variant of Moria for tty/console displays
CONFLICTS= angband-tty-[0-9]*
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME}
MAKEFILE= Makefile
ALL_TARGET= all
.if (${MACHINE_ARCH} == arm32)
. include "../../lang/gcc/Makefile.gcc"
MAKE_FLAGS+= CC=${CC}
.endif
do-configure:
(cd ${WRKDIR}/${DISTNAME}; LDFLAGS="-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib" CPP="cpp -I/usr/pkg/include" CFLAGS="-I/usr/pkg/include -L/usr/pkg/lib -I/usr/X11R6/include -L/usr/X11R6/lib" ./configure --with-setgid=games --prefix=$(PREFIX))
#do-install:
#${INSTALL} -d -o bin -g games -m 0775 ${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
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: