freebsd-ports/games/mangband/Makefile
Satoshi Asami 2971a93e52 Convert to PORTNAME/PORTVERSION. The following ports hand invalid version
strings so I fixed them: quakeforge, netrek-BRMH, netrek-COW3, tetrinet-x and
xnibbles.
2000-04-14 12:28:40 +00:00

37 lines
891 B
Makefile

# New ports collection makefile for: mangband
# Date created: 30 Dec 1998
#
# $FreeBSD$
#
PORTNAME= mangband
PORTVERSION= 0.5.4
CATEGORIES= games
MASTER_SITES= http://www.umr.edu/~keldon/MAngband/
DISTNAME= mangband-054
MAINTAINER= ache@freebsd.org
WRKSRC= ${WRKDIR}/mangband/src
ALL_TARGET= install
USE_XLIB= yes
MALIB= ${PREFIX}/lib/mangband
do-install:
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 555 ${MALIB}
cd ${WRKSRC}/../lib; ${CP} -R -p * ${MALIB}; \
cd ${MALIB}; \
${TOUCH} file/wizards.txt; \
${CHMOD} 750 *; ${CHOWN} -R root.games *; \
${CHMOD} 755 user;
cd ${WRKSRC}; \
${INSTALL_PROGRAM} -o root -g games -m 2550 \
mangband ${PREFIX}/bin; \
${INSTALL_PROGRAM} -o root -g games -m 550 \
mangconsole ${PREFIX}/bin; \
${INSTALL_PROGRAM} mangclient ${PREFIX}/bin
.include <bsd.port.mk>