1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/japanese/ebnetd/Makefile
Doug Barton 36cd5c74c7 For those ports that have been fully adapted to USE_RC_SUBR remove the
old RC_SCRIPTS_SUB as it has not been needed for a long time.

For those that have not yet been updated, remove RC_SUBR=${RC_SUBR}
from the list.
2010-03-27 05:21:36 +00:00

43 lines
958 B
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= 6
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
LIB_DEPENDS= eb.15:${PORTSDIR}/japanese/eb
GNU_CONFIGURE= yes
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}
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>