1997-03-04 09:35:21 +00:00
|
|
|
# New ports collection makefile for: angband
|
|
|
|
# Date created: 21 Feb 1997
|
|
|
|
# Whom: Matthew Hunt <mph@pobox.com>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1997-03-04 09:35:21 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:45:49 +00:00
|
|
|
PORTNAME= angband
|
2000-04-24 17:43:35 +00:00
|
|
|
PORTVERSION= 2.9.0
|
1997-03-04 09:35:21 +00:00
|
|
|
CATEGORIES= games
|
1999-12-02 19:19:03 +00:00
|
|
|
MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/ \
|
2000-04-24 17:43:35 +00:00
|
|
|
ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Source/ \
|
|
|
|
ftp://ftp.sunet.se/pub/games/Angband/Source/ \
|
|
|
|
ftp://mirror.aarnet.edu.au/pub/games/roguelike/angband/Source/ \
|
|
|
|
ftp://export.andrew.cmu.edu/angband/Extra/ \
|
|
|
|
ftp://ftp.greyhelm.com/pub/Games/Angband/Angband-2.7.x/Extra/ \
|
|
|
|
ftp://ftp.sunet.se/pub/games/Angband/Extra/ \
|
|
|
|
ftp://mirror.aarnet.edu.au/pub/games/roguelike/angband/Extra/ \
|
2000-06-14 05:44:53 +00:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= mph
|
2000-04-24 17:43:35 +00:00
|
|
|
DISTNAME= angband-290
|
|
|
|
DISTFILES= angband-290-src.tar.gz angband-290-graf.zip \
|
|
|
|
angband-290-data.tar.gz
|
|
|
|
EXTRACT_ONLY= angband-290-src.tar.gz
|
1997-03-04 09:35:21 +00:00
|
|
|
|
1998-04-17 23:26:31 +00:00
|
|
|
MAINTAINER= mph@freebsd.org
|
1997-03-04 09:35:21 +00:00
|
|
|
|
2000-04-24 17:43:35 +00:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-02-10 08:17:27 +00:00
|
|
|
DIST_SUBDIR= angband
|
|
|
|
|
2000-04-24 17:43:35 +00:00
|
|
|
post-extract:
|
|
|
|
(cd ${WRKSRC}/lib/xtra/graf && unzip ${DISTDIR}/${DIST_SUBDIR}/angband-290-graf.zip)
|
1998-02-10 08:17:27 +00:00
|
|
|
|
|
|
|
pre-patch:
|
2000-04-24 17:43:35 +00:00
|
|
|
${CP} ${WRKSRC}/src/makefile.std ${WRKSRC}/src/Makefile
|
1997-03-04 09:35:21 +00:00
|
|
|
|
1999-12-02 19:19:03 +00:00
|
|
|
do-install:
|
2000-04-24 17:43:35 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/angband ${PREFIX}/bin/angband
|
|
|
|
find ${WRKSRC}/lib -name delete.me -delete
|
1999-12-02 19:19:03 +00:00
|
|
|
${MKDIR} ${PREFIX}/lib/X11/angband
|
|
|
|
(cd ${WRKSRC}/lib && ${TAR} cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
|
2000-04-24 17:43:35 +00:00
|
|
|
(cd ${PREFIX} && ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/angband-290-data.tar.gz)
|
1999-12-02 19:19:03 +00:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/X11/angband
|
|
|
|
(cd ${PREFIX}/lib/X11/angband && \
|
|
|
|
${CHMOD} 555 apex bone data edit file help info xtra ; \
|
|
|
|
${CHMOD} 1777 save user \
|
|
|
|
)
|
|
|
|
${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 /dev/null ${PREFIX}/lib/X11/angband/apex/scores.raw
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-10-27 09:48:06 +00:00
|
|
|
|
1997-03-04 09:35:21 +00:00
|
|
|
.include <bsd.port.mk>
|