summaryrefslogblamecommitdiff
path: root/games/tinymux/Makefile
blob: bee724861db0c5bed632486d18e1c038b26dae28 (plain) (tree)
1
2
3
4
5
6




                                            
           


















                                                                         


                                                                      
                                             



                                                       
                                             




                                                                   

                                                                     


                                                                        

                                            



                                                                     


                      
# New ports collection makefile for: TinyMUX
# Version required:	1.4p13
# Date created:		1998/05/28
# Whom:			cjohnson
#
# $FreeBSD$
#

DISTNAME=	tinymux-1.4p13
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.digex.net/pub/mud/tinymux/

MAINTAINER=	cjohnson@camelot.com

BUILD_DEPENDS=	${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm

WRKSRC=		${WRKDIR}/src
#GNU_CONFIGURE=	YES
USE_AUTOCONF=	YES

#
# Distribution does not include an install target.  So here it is.
do-install:
	${MKDIR} ${PREFIX}/games/tinymux
	${INSTALL_SCRIPT} ${WRKDIR}/game/Startmux ${PREFIX}/games/tinymux
.for file in alias.conf compat.conf mtrace.awk mux.config netmux.conf
	${INSTALL_DATA} ${WRKDIR}/game/${file} ${PREFIX}/games/tinymux
.endfor
	${MKDIR} ${PREFIX}/games/tinymux/data
.for file in db_check db_load db_unload
	${INSTALL_SCRIPT} ${WRKDIR}/game/data/${file} \
		${PREFIX}/games/tinymux/data
.endfor
	${MKDIR} ${PREFIX}/games/tinymux/text
.for file in badsite connect create_reg down full guest help motd \
	news newuser plushelp quit register wizhelp wizmotd wiznews
	${INSTALL_DATA} ${WRKDIR}/game/text/${file}.txt \
		${PREFIX}/games/tinymux/text
.endfor
	${MKDIR} ${PREFIX}/games/tinymux/bin
#	${INSTALL_PROGRAM} ${WRKSRC}/conc ${PREFIX}/games/tinymux/bin
.for file in dbconvert mkindx netmux slave
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/games/tinymux/bin
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/tinymux
.for file in README README.COMPRESSION README.GUESTS README.MEMORY \
	README.TOOLS
	${INSTALL_DATA} ${WRKDIR}/${file} ${PREFIX}/share/doc/tinymux
.endfor
.endif

.include <bsd.port.mk>