1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/japanese/ebnetd/Makefile
Sunpoet Po-Chuan Hsieh f4106e73cd Update LICENSE
- Add LICENSE_FILE
- Regenerate patch files with makepatch:

PR:		222302
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
2017-09-15 05:52:08 +00:00

48 lines
1.0 KiB
Makefile

# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
# $FreeBSD$
PORTNAME= ebnetd
PORTVERSION= 1.0
PORTREVISION= 10
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+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libeb.so:japanese/eb
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
USERS= ${EBNETD_USER}
GROUPS= ${EBNETD_GROUP}
# Local variables
LOGDIR= /var/log
RUNDIR= /var/run
EBNETD_USER= ebnetd
EBNETD_GROUP= ebnetd
USE_RC_SUBR= ebhttpd ebnetd ndtpd
SUB_FILES= pkg-message
PLIST_SUB= EBNETD_RUNDIR=${RUNDIR}/${PORTNAME} \
EBNETD_USER=${EBNETD_USER} \
EBNETD_GROUP=${EBNETD_GROUP}
INFO= ebnetd ebnetd-ja
post-patch:
${REINPLACE_CMD} -e "s/%%EBNETD_USER%%/${EBNETD_USER}/" \
-e "s/%%EBNETD_GROUP%%/${EBNETD_GROUP}/" \
${WRKSRC}/ebnetd.conf.sample.in
post-install:
${MKDIR} -m 0755 ${STAGEDIR}${RUNDIR}/${PORTNAME}
.include <bsd.port.mk>