freebsd-ports/games/mangband/Makefile

37 lines
872 B
Makefile
Raw Normal View History

1999-01-01 04:14:08 +01:00
# New ports collection makefile for: mangband
# Date created: 30 Dec 1998
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
1999-01-01 04:14:08 +01:00
#
PORTNAME= mangband
PORTVERSION= 0.7.0
1999-01-01 04:14:08 +01:00
CATEGORIES= games
MASTER_SITES= http://mangband.org/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
1999-01-01 04:14:08 +01:00
MAINTAINER= ports@FreeBSD.org
2000-03-30 22:57:15 +02:00
WRKSRC= ${WRKDIR}/${PORTNAME}/src
1999-01-01 04:14:08 +01:00
USE_XLIB= yes
ALL_TARGET= install
1999-01-01 04:14:08 +01:00
MALIB= ${PREFIX}/lib/mangband
1999-01-01 04:14:08 +01:00
do-install:
${INSTALL_PROGRAM} -o root -g games -m 2550 \
${WRKSRC}/mangband ${PREFIX}/bin
${INSTALL_PROGRAM} -o root -g games -m 550 \
${WRKSRC}/mangconsole ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mangclient ${PREFIX}/bin
@${MKDIR} ${MALIB}/file
@${TOUCH} ${MALIB}/file/wizards.txt
cd ${WRKSRC}/../lib && pax -rw * ${MALIB}
${CHMOD} 750 ${MALIB}/*
${CHMOD} 755 ${MALIB}/user
${CHOWN} -R root.games ${MALIB}/*
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${MALIB}
1999-01-01 04:14:08 +01:00
.include <bsd.port.mk>