fb6c29f8bf
now and not NetBSD-*-arm32. Changes include one or more of: - Change MACHINE_ARCH == arm32 to also match arm - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3 The last may shake out a few more broken packages the next bulk build.
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2003/06/11 20:50:53 abs Exp $
|
|
#
|
|
|
|
DISTNAME= angband-283
|
|
PKGNAME= angband-tty-2.8.3
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/ \
|
|
ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Source/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SPOILERFILE}
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://www.phial.com/angband/
|
|
COMMENT= Tolkien based variant of Moria for tty/console displays
|
|
|
|
CONFLICTS= angband-x11-[0-9]*
|
|
|
|
USE_BUILDLINK2= # defined
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
MAKEFILE= Makefile.std
|
|
ALL_TARGET= angband
|
|
|
|
SPOILERFILE= angband-spoilers.tar.gz
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
|
. include "../../mk/gcc.buildlink2.mk"
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
|
|
${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband
|
|
cd ${PREFIX}/share/angband/help && \
|
|
${PAX} -O -zrf ${DISTDIR}/${SPOILERFILE}
|
|
${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"
|