1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/games/angband/Makefile

44 lines
1.3 KiB
Makefile
Raw Normal View History

# 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$
#
PORTNAME= angband
PORTVERSION= 2.8.3
CATEGORIES= games
MASTER_SITES= ftp://export.andrew.cmu.edu/angband/Source/ \
http://people.FreeBSD.org/~mph/distfiles/
2000-04-16 10:44:52 +00:00
DISTNAME= angband-283
DISTFILES= angband-283.tar.gz ext-x11-283.tar.gz angband-data.tar.gz
MAINTAINER= mph@freebsd.org
USE_X_PREFIX= yes
DIST_SUBDIR= angband
EXTRACT_ONLY= angband-283.tar.gz ext-x11-283.tar.gz
EXTSRC= ${WRKDIR}/ext-x11-283
pre-patch:
${CP} ${WRKSRC}/src/Makefile.std ${WRKSRC}/src/Makefile
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
${INSTALL_DATA} ${EXTSRC}/lib/xtra/tiles.raw \
${PREFIX}/lib/X11/angband/xtra
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>