freebsd-ports/games/mangband/Makefile

40 lines
1,000 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
# 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
#
PORTNAME= mangband
PORTVERSION= 0.7.0
PORTREVISION= 1
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= 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
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
2004-01-22 09:05:25 +01:00
cd ${WRKSRC}/../lib && ${PAX} -rw * ${MALIB}
${CHMOD} 750 ${MALIB}/*
${CHMOD} 755 ${MALIB}/user
2001-06-01 08:05:18 +02:00
${CHOWN} -R root:games ${MALIB}/*
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${MALIB}
1999-01-01 04:14:08 +01:00
.include <bsd.port.mk>