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
|
|
|
|
PORTVERSION= 2.8.3
|
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-02-08 09:29:51 +00:00
|
|
|
http://people.FreeBSD.org/~mph/distfiles/
|
1999-12-02 19:19:03 +00:00
|
|
|
DISTFILES= angband-283.tar.gz ext-x11-283.tar.gz angband-data.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
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-02-10 08:17:27 +00:00
|
|
|
DIST_SUBDIR= angband
|
|
|
|
|
1999-12-02 19:19:03 +00:00
|
|
|
EXTRACT_ONLY= angband-283.tar.gz ext-x11-283.tar.gz
|
|
|
|
|
1998-02-10 08:17:27 +00:00
|
|
|
EXTSRC= ${WRKDIR}/ext-x11-283
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
${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:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/angband ${PREFIX}/bin/angband
|
|
|
|
${MKDIR} ${PREFIX}/lib/X11/angband
|
|
|
|
(cd ${WRKSRC}/lib && ${TAR} cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
|
|
|
|
(cd ${PREFIX} && ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/angband-data.tar.gz)
|
|
|
|
${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
|
1998-02-10 08:17:27 +00:00
|
|
|
${INSTALL_DATA} ${EXTSRC}/lib/xtra/tiles.raw \
|
|
|
|
${PREFIX}/lib/X11/angband/xtra
|
1997-10-27 09:48:06 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
1997-03-04 09:35:21 +00:00
|
|
|
.include <bsd.port.mk>
|