# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
# $FreeBSD: tags/RELEASE_10_1_0/japanese/ebnetd/Makefile 328365 2013-09-26 14:18:25Z wg $

PORTNAME=	ebnetd
PORTVERSION=	1.0
PORTREVISION=	8
CATEGORIES=	japanese ipv6
MASTER_SITES=	ftp://ftp.sra.co.jp/pub/misc/eb/

MAINTAINER=	yasu@utahime.org
COMMENT=	Servers for accessing CD-ROM books via TCP/IP

LICENSE=	GPLv2

LIB_DEPENDS=	libeb.so:${PORTSDIR}/japanese/eb

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=${RUNDIR} --with-logdir=${LOGDIR}

# Local variables
LOGDIR=		/var/log
RUNDIR=		/var/run

USE_RC_SUBR=	ebhttpd ebnetd ndtpd
SUB_FILES=	pkg-message
PLIST_SUB=	EBNETD_RUNDIR=${RUNDIR}/${PORTNAME}

INFO=		ebnetd ebnetd-ja

.include <bsd.port.mk>
