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