1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/mangband/Makefile
Kris Kennaway 21f0fd7c1c Install setgid games, not setuid games.
Reviewed by:	ache (maintainer)
2000-03-11 01:23:11 +00:00

38 lines
943 B
Makefile

# New ports collection makefile for: mangband
# http://www.umr.edu/~keldon/MAngband/
# Version required: 0.5.4
# Date created: 30 Dec 1998
#
# $FreeBSD$
#
DISTNAME= mangband-054
PKGNAME= mangband-0.5.4
CATEGORIES= games
MASTER_SITES= http://www.umr.edu/~keldon/MAngband/
WRKSRC= ${WRKDIR}/mangband/src
ALL_TARGET= install
USE_XLIB= yes
MAINTAINER= ache@freebsd.org
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>