1998-04-21 15:10:50 +00:00
|
|
|
# New ports collection makefile for: ndtpd
|
1999-08-19 10:50:30 +00:00
|
|
|
# Version required: 2.3.2
|
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
|
|
|
#
|
|
|
|
|
1999-08-19 10:50:30 +00:00
|
|
|
DISTNAME= ndtpd-2.3.2
|
|
|
|
PKGNAME= ja-ndtpd-2.3.2
|
1998-04-21 15:10:50 +00:00
|
|
|
CATEGORIES= japanese
|
1999-01-26 03:07:05 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/ \
|
1999-08-19 10:50:30 +00:00
|
|
|
ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/old/ \
|
|
|
|
ftp://ftp.mei.co.jp/free/others/Dictionary/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
|
|
|
|
CONFIGURE_ARGS= --localstatedir=${VARDIR} --with-eb --with-zlib \
|
1999-01-26 03:07:05 +00:00
|
|
|
--with-eb-includes=${PREFIX}/include \
|
|
|
|
--with-eb-libraries=${PREFIX}/lib
|
1998-04-21 15:10:50 +00:00
|
|
|
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
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
|
|
|
PLIST_SUB= VARDIR=${VARDIR} OWNER=${OWNER} GROUP=${GROUP} MODE=${MODE}
|
|
|
|
|
|
|
|
# Local variables
|
|
|
|
VARDIR= /var
|
|
|
|
OWNER= nobody
|
|
|
|
GROUP= nogroup
|
|
|
|
MODE= 755
|
|
|
|
STARTUP_SCRIPT= ndtpd.sh.sample
|
|
|
|
INSTALL_DIR= ${INSTALL} -d -o ${OWNER} -g ${GROUP} -m ${MODE}
|
1998-04-21 15:10:50 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-19 10:50:30 +00:00
|
|
|
${SED} "s,@prefix@,${PREFIX}," ${FILESDIR}/${STARTUP_SCRIPT} \
|
|
|
|
> ${WRKDIR}/${STARTUP_SCRIPT}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
|
|
|
|
${INSTALL_DIR} ${VARDIR}/ndtpd
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
@${ECHO}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-04-21 15:10:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|