freebsd-ports/games/bnetd/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

2001-07-07 21:14:11 +02:00
# ex:ts=8
# New ports collection makefile for: bnetd
# Date created: 24 April 1999
# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
1999-08-25 08:06:33 +02:00
# $FreeBSD$
#
PORTNAME= bnetd
2001-07-07 21:14:11 +02:00
PORTVERSION= 0.4.25p3
1999-05-13 11:18:15 +02:00
CATEGORIES= games net
2001-07-07 21:14:11 +02:00
MASTER_SITES= ftp://ftp.bnetd.org/pub/source/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/}
MAINTAINER= ijliao@FreeBSD.org
2001-07-07 21:14:11 +02:00
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bits --sysconfdir=${PREFIX}/etc/bnetd \
--localstatedir=${PREFIX}/share/bnetd
WRKSRC= ${WRKDIR}/${DISTNAME}/src
2001-07-07 21:14:11 +02:00
MAN1= bnbot.1 bnchat.1 bnetd.1 bnftp.1 bni2tga.1 bnibuild.1 bniextract.1 \
bnilist.1 bnpass.1 bnproxy.1 bnstat.1 bntrackd.1 tgainfo.1
MAN5= bnetd.conf.5 bntext.5
MLINKS= bntext.5 bnmotd.txt.5 bntext.5 bnnews.txt.5 bntext.5 bnissue.5
post-install:
2001-07-07 21:14:11 +02:00
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/bnetd
${CP} -R ${WRKSRC}/../docs/ ${PREFIX}/share/doc/bnetd
.endif
@if [ ! -f ${PREFIX}/etc/rc.d/bnetd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/bnetd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/bnetd.sh \
${PREFIX}/etc/rc.d/bnetd.sh; \
fi
.include <bsd.port.mk>