1998-04-21 15:10:50 +00:00
|
|
|
# New ports collection makefile for: ndtpd
|
2000-03-30 08:44:54 +00:00
|
|
|
# Version required: 2.3.7
|
1998-08-10 12:21:18 +00:00
|
|
|
# Date created: 4 Aug 1998
|
1998-04-21 15:10:50 +00:00
|
|
|
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-04-21 15:10:50 +00:00
|
|
|
#
|
|
|
|
|
2000-03-30 08:44:54 +00:00
|
|
|
DISTNAME= ndtpd-2.3.7
|
|
|
|
PKGNAME= ja-ndtpd-2.3.7
|
1998-04-21 15:10:50 +00:00
|
|
|
CATEGORIES= japanese
|
1999-10-27 08:46:46 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
|
1998-04-21 15:10:50 +00:00
|
|
|
|
1999-03-15 13:00:36 +00:00
|
|
|
MAINTAINER= takamune@avrl.mei.co.jp
|
1998-08-10 12:21:18 +00:00
|
|
|
|
1999-08-19 10:50:30 +00:00
|
|
|
LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
|
1998-10-16 04:32:50 +00:00
|
|
|
|
1999-08-19 10:50:30 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-01-22 06:40:20 +00: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 10:50:30 +00:00
|
|
|
|
1998-04-24 14:37:49 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-01-26 03:07:05 +00:00
|
|
|
IS_INTERACTIVE= Maybe_interactive_at_install_stage
|
1998-04-24 14:37:49 +00:00
|
|
|
.endif
|
1999-08-19 10:50:30 +00:00
|
|
|
|
|
|
|
# Local variables
|
2000-01-22 06:40:20 +00:00
|
|
|
LOGDIR= /var/log
|
|
|
|
RUNDIR= /var/run
|
1999-08-19 10:50:30 +00:00
|
|
|
STARTUP_SCRIPT= ndtpd.sh.sample
|
2000-01-22 06:40:20 +00: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 15:10:50 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-19 10:50:30 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
@${ECHO}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-04-21 15:10:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|