2001-01-30 17:33:53 +00:00
|
|
|
# New ports collection makefile for: TinyMUX
|
1998-08-09 01:10:30 +00:00
|
|
|
# Date created: 1998/05/28
|
|
|
|
# Whom: cjohnson
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-08-09 01:10:30 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= tinymux
|
2005-12-16 12:25:44 +00:00
|
|
|
PORTVERSION= 2.3.5.${PATCHLEVEL}
|
2004-07-30 16:49:12 +00:00
|
|
|
CATEGORIES= games net
|
|
|
|
MASTER_SITES= ftp://ftp.tinymux.org/TinyMUX/tinymux-2.3/${PATCHLEVEL}/ \
|
|
|
|
http://www.tinymux.org/ \
|
|
|
|
http://www.moosh.net/pub/mush/servers/tinymux/TinyMUX-2.x/tinymux-2.3/${PATCHLEVEL}/
|
|
|
|
DISTNAME= mux-${PORTVERSION}.unix
|
1998-08-09 01:10:30 +00:00
|
|
|
|
2001-01-30 17:33:53 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:32:26 +00:00
|
|
|
COMMENT= A Multi-Player FreeForm adventure Program
|
2001-01-30 17:33:53 +00:00
|
|
|
|
2004-07-30 16:49:12 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2001-01-30 17:33:53 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2006-01-07 08:32:24 +00:00
|
|
|
PATCHLEVEL= 26
|
2004-07-30 16:49:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/mux2.3/src
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
1998-08-09 01:10:30 +00:00
|
|
|
|
|
|
|
do-install:
|
2004-07-30 16:49:12 +00:00
|
|
|
# Binaries
|
|
|
|
.for file in netmux slave
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin
|
1998-08-17 10:11:02 +00:00
|
|
|
.endfor
|
2004-07-30 16:49:12 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../game/bin/dbconvert ${PREFIX}/bin
|
|
|
|
# Configuration
|
|
|
|
${MKDIR} ${PREFIX}/etc/${PORTNAME}
|
|
|
|
.for file in alias.conf compat.conf mux.config netmux.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../game/${file} \
|
|
|
|
${PREFIX}/etc/${PORTNAME}/${file}.sample
|
|
|
|
.endfor
|
|
|
|
# Data
|
|
|
|
${MKDIR} ${DATADIR}/game/netmux
|
|
|
|
.for file in Backup Startmux _backupflat.sh
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../game/${file} ${DATADIR}/game/netmux/
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${DATADIR}/game/netmux/data
|
1998-08-17 10:11:02 +00:00
|
|
|
.for file in db_check db_load db_unload
|
2004-07-30 16:49:12 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/../game/data/${file} \
|
|
|
|
${DATADIR}/game/netmux/data
|
1998-08-17 10:11:02 +00:00
|
|
|
.endfor
|
2004-07-30 16:49:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../game/data/netmux.db \
|
|
|
|
${DATADIR}/game/netmux/data
|
|
|
|
${MKDIR} ${DATADIR}/game/netmux/text
|
1998-08-17 10:11:02 +00:00
|
|
|
.for file in badsite connect create_reg down full guest help motd \
|
2004-07-30 16:49:12 +00:00
|
|
|
news newuser plushelp quit register staffhelp wizhelp wizmotd wiznews
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../game/text/${file}.txt \
|
|
|
|
${DATADIR}/game/netmux/text
|
1998-08-17 10:11:02 +00:00
|
|
|
.endfor
|
2004-07-30 16:49:12 +00:00
|
|
|
# Docs
|
1998-08-09 01:10:30 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-07-30 16:49:12 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ATTACK CHANGES INSTALL NOTES README SGP
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.for file in BACKUPS CONFIGURATION CONVERSION CREDITS DISTRIBUTIONS GUESTS \
|
|
|
|
LIMITS MEMORY PATCHES REALMS muxman.pdf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${DOCSDIR}
|
1998-08-17 10:11:02 +00:00
|
|
|
.endfor
|
1998-08-09 01:10:30 +00:00
|
|
|
.endif
|
|
|
|
|
2003-10-27 19:13:06 +00:00
|
|
|
.include <bsd.port.mk>
|