1999-04-27 03:06:57 +02:00
|
|
|
# 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$
|
1999-04-27 03:06:57 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:45:49 +02:00
|
|
|
PORTNAME= bnetd
|
|
|
|
PORTVERSION= 0.4.21
|
1999-05-13 11:18:15 +02:00
|
|
|
CATEGORIES= games net
|
1999-04-27 03:06:57 +02:00
|
|
|
MASTER_SITES= http://www.bnetd.org/files/
|
|
|
|
|
|
|
|
MAINTAINER= ijliao@csie.nctu.edu.tw
|
|
|
|
|
1999-07-09 02:49:33 +02:00
|
|
|
MAN1= bnchat.1 bnetd.1 bnftp.1 bnpass.1
|
2000-03-31 09:48:02 +02:00
|
|
|
MAN5= bnetd.conf.5 bntext.5
|
|
|
|
MLINKS= bntext.5 bnmotd.txt.5 bntext.5 bnnews.txt.5
|
1999-04-27 03:06:57 +02:00
|
|
|
|
1999-08-01 04:57:56 +02:00
|
|
|
do-configure:
|
1999-08-03 05:42:10 +02:00
|
|
|
@(cd ${WRKSRC}/src; ${SETENV} CFLAGS="${CFLAGS}" \
|
2000-03-31 09:48:02 +02:00
|
|
|
./configure --with-warn --with-bits --prefix=${PREFIX} ${CONFIGURE_TARGET})
|
1999-08-01 04:57:56 +02:00
|
|
|
|
1999-04-27 03:06:57 +02:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}/src; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS})
|
|
|
|
|
|
|
|
do-install:
|
1999-08-03 05:42:10 +02:00
|
|
|
cd ${WRKSRC}/bin; ${INSTALL_PROGRAM} * ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/sbin; ${INSTALL_PROGRAM} * ${PREFIX}/sbin
|
2000-03-31 09:48:02 +02:00
|
|
|
cd ${WRKSRC}/man; ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1; ${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5
|
1999-08-01 04:57:56 +02:00
|
|
|
${MKDIR} ${PREFIX}/bnetd; ${CP} -R ${WRKSRC}/files ${WRKSRC}/users ${WRKSRC}/conf ${WRKSRC}/reports ${PREFIX}/bnetd
|
1999-04-27 03:06:57 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/bnetd.sh ]; then \
|
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/bnetd.sh startup file."; \
|
2000-07-05 14:37:06 +02:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/bnetd.sh \
|
|
|
|
${PREFIX}/etc/rc.d/bnetd.sh; \
|
1999-04-27 03:06:57 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|