1999-01-01 04:14:08 +01:00
|
|
|
# New ports collection makefile for: mangband
|
|
|
|
# Date created: 30 Dec 1998
|
2001-07-07 06:01:36 +02:00
|
|
|
# Whom: Adam Kranzel (adam@alameda.edu)
|
1999-01-01 04:14:08 +01:00
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-01-01 04:14:08 +01:00
|
|
|
#
|
|
|
|
|
2001-01-16 16:27:59 +01:00
|
|
|
PORTNAME= mangband
|
|
|
|
PORTVERSION= 0.7.0
|
2001-07-07 06:01:36 +02:00
|
|
|
PORTREVISION= 1
|
1999-01-01 04:14:08 +01:00
|
|
|
CATEGORIES= games
|
2001-01-12 21:42:47 +01:00
|
|
|
MASTER_SITES= http://mangband.org/download/
|
2001-01-16 16:27:59 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
1999-01-01 04:14:08 +01:00
|
|
|
|
2002-08-08 03:45:55 +02:00
|
|
|
MAINTAINER= adam-ports@blacktabby.org
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Multiplayer rogue-like game with color, X11 support
|
2000-03-30 22:57:15 +02:00
|
|
|
|
2001-01-16 16:27:59 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
1999-01-01 04:14:08 +01:00
|
|
|
|
2001-01-16 16:27:59 +01:00
|
|
|
USE_XLIB= yes
|
|
|
|
ALL_TARGET= install
|
1999-01-01 04:14:08 +01:00
|
|
|
|
2001-01-16 16:27:59 +01:00
|
|
|
MALIB= ${PREFIX}/lib/mangband
|
1999-01-01 04:14:08 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-01-16 16:27:59 +01: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
|
2004-01-22 09:05:25 +01:00
|
|
|
cd ${WRKSRC}/../lib && ${PAX} -rw * ${MALIB}
|
2001-01-16 16:27:59 +01:00
|
|
|
${CHMOD} 750 ${MALIB}/*
|
|
|
|
${CHMOD} 755 ${MALIB}/user
|
2001-06-01 08:05:18 +02:00
|
|
|
${CHOWN} -R root:games ${MALIB}/*
|
2001-01-16 16:27:59 +01:00
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${MALIB}
|
1999-01-01 04:14:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|