1998-04-21 11:10:50 -04:00
|
|
|
# New ports collection makefile for: ndtpd
|
1998-08-10 08:21:18 -04:00
|
|
|
# Date created: 4 Aug 1998
|
1998-04-21 11:10:50 -04:00
|
|
|
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1998-04-21 11:10:50 -04:00
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= ndtpd
|
2000-07-04 12:25:49 -04:00
|
|
|
PORTVERSION= 2.3.8
|
1998-04-21 11:10:50 -04:00
|
|
|
CATEGORIES= japanese
|
1999-10-27 04:46:46 -04:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
|
1998-04-21 11:10:50 -04:00
|
|
|
|
2000-08-29 16:16:57 -04:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= ${DISTNAME}+2.diff
|
|
|
|
|
1999-03-15 08:00:36 -05:00
|
|
|
MAINTAINER= takamune@avrl.mei.co.jp
|
1998-08-10 08:21:18 -04:00
|
|
|
|
1999-08-19 06:50:30 -04:00
|
|
|
LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
|
1998-10-16 00:32:50 -04:00
|
|
|
|
1999-08-19 06:50:30 -04:00
|
|
|
USE_LIBTOOL= yes
|
2000-01-22 01:40:20 -05:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR} \
|
|
|
|
--with-eb --with-eb-includes=${PREFIX}/include \
|
|
|
|
--with-zlib --with-eb-libraries=${PREFIX}/lib
|
1999-08-19 06:50:30 -04:00
|
|
|
|
1998-04-24 10:37:49 -04:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-01-25 22:07:05 -05:00
|
|
|
IS_INTERACTIVE= Maybe_interactive_at_install_stage
|
1998-04-24 10:37:49 -04:00
|
|
|
.endif
|
1999-08-19 06:50:30 -04:00
|
|
|
|
|
|
|
# Local variables
|
2000-01-22 01:40:20 -05:00
|
|
|
LOGDIR= /var/log
|
|
|
|
RUNDIR= /var/run
|
1999-08-19 06:50:30 -04:00
|
|
|
STARTUP_SCRIPT= ndtpd.sh.sample
|
2000-01-22 01:40:20 -05:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC} && ${RM} -rf eb
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
${SED} "s,@prefix@,${PREFIX},; s,@rundir@,${RUNDIR},"\
|
|
|
|
${FILESDIR}/${STARTUP_SCRIPT} > ${WRKDIR}/${STARTUP_SCRIPT}
|
1998-04-21 11:10:50 -04:00
|
|
|
|
|
|
|
post-install:
|
1999-08-19 06:50:30 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
@${ECHO}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-04-21 11:10:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|