freebsd-ports/japanese/ebnetd/Makefile
Norikatsu Shigemura bf958d6a97 o Update to 4.2. [1]
o Fix minor bug. [2]

PR:		ports/81629 [1]
Submitted by:	KIMURA Yasuhiro <yasu@utahime.org> [1]
Obtained from:	ndtpd/01982 [2]
Approved by:	maintainer timeout
2005-07-31 07:17:11 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: ebnetd
# Date created: 4 Aug 1998
# Whom: Motoyuki Kasahara <m-kasahr@sra.co.jp>
#
# $FreeBSD$
#
PORTNAME= ebnetd
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= japanese ipv6
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ \
ftp://ftp.eos.hokudai.ac.jp/pub/net/ndtp/eb/
MAINTAINER= takamune2004@yahoo.co.jp
COMMENT= Servers for accessing CD-ROM books via TCP/IP
LIB_DEPENDS= eb.10:${PORTSDIR}/japanese/eb
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
# Local variables
LOGDIR= /var/log
RUNDIR= /var/run
STARTUP_SCRIPT= ${PORTNAME}.sh
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
INFO= ebnetd ebnetd-ja
post-build:
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/${STARTUP_SCRIPT} > ${WRKDIR}/${STARTUP_SCRIPT}
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${ECHO}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>