1999-01-01 03:14:08 +00:00
|
|
|
# New ports collection makefile for: mangband
|
|
|
|
# Date created: 30 Dec 1998
|
2001-07-07 04:01:36 +00:00
|
|
|
# Whom: Adam Kranzel (adam@alameda.edu)
|
1999-01-01 03:14:08 +00:00
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1999-01-01 03:14:08 +00:00
|
|
|
#
|
|
|
|
|
2001-01-16 15:27:59 +00:00
|
|
|
PORTNAME= mangband
|
|
|
|
PORTVERSION= 0.7.0
|
2001-07-07 04:01:36 +00:00
|
|
|
PORTREVISION= 1
|
1999-01-01 03:14:08 +00:00
|
|
|
CATEGORIES= games
|
2001-01-12 20:42:47 +00:00
|
|
|
MASTER_SITES= http://mangband.org/download/
|
2001-01-16 15:27:59 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
1999-01-01 03:14:08 +00:00
|
|
|
|
2002-08-08 01:45:55 +00:00
|
|
|
MAINTAINER= adam-ports@blacktabby.org
|
2000-03-30 20:57:15 +00:00
|
|
|
|
2001-01-16 15:27:59 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
1999-01-01 03:14:08 +00:00
|
|
|
|
2001-01-16 15:27:59 +00:00
|
|
|
USE_XLIB= yes
|
|
|
|
ALL_TARGET= install
|
1999-01-01 03:14:08 +00:00
|
|
|
|
2001-01-16 15:27:59 +00:00
|
|
|
MALIB= ${PREFIX}/lib/mangband
|
1999-01-01 03:14:08 +00:00
|
|
|
|
|
|
|
do-install:
|
2001-01-16 15:27:59 +00:00
|
|
|
${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
|
2001-06-01 06:05:18 +00:00
|
|
|
${CHOWN} -R root:games ${MALIB}/*
|
2001-01-16 15:27:59 +00:00
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${MALIB}
|
1999-01-01 03:14:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|