2002-10-22 20:30:58 +02:00
|
|
|
# New ports collection makefile for: dtcp
|
|
|
|
# Date Created: Sep 27 2002
|
|
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dtcp
|
2006-02-07 16:40:15 +01:00
|
|
|
PORTVERSION= 20060109
|
|
|
|
#PORTREVISION= 0
|
2002-10-22 20:30:58 +02:00
|
|
|
CATEGORIES= net ipv6
|
2004-02-21 23:05:47 +01:00
|
|
|
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \
|
|
|
|
http://home.jp.FreeBSD.org/~ume/ipv6/
|
2002-10-22 20:30:58 +02:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
2003-02-20 21:10:05 +01:00
|
|
|
COMMENT= Dynamic Tunnel Configuration Protocol daemon and client
|
2002-10-22 20:30:58 +02:00
|
|
|
|
2005-12-17 17:48:00 +01:00
|
|
|
.if defined(WITH_QPOPAUTH)
|
2002-10-22 20:30:58 +02:00
|
|
|
RUN_DEPENDS= qpopauth:${PORTSDIR}/mail/qpopper
|
|
|
|
.endif
|
|
|
|
|
2005-02-10 20:12:56 +01:00
|
|
|
USE_RC_SUBR= dtcpc.sh dtcps.sh
|
2002-10-22 20:30:58 +02:00
|
|
|
USE_RUBY= yes
|
2011-08-20 21:57:39 +02:00
|
|
|
RUBY_VER= 1.8
|
2004-06-07 19:35:36 +02:00
|
|
|
MAKE_ENV+= RUBY=${RUBY}
|
2002-10-22 20:30:58 +02:00
|
|
|
|
2003-01-01 20:53:08 +01:00
|
|
|
MAN8= dtcpauth.8 dtcpc.8 dtcps.8
|
2002-10-22 20:30:58 +02:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2005-02-10 20:12:56 +01:00
|
|
|
SUB_LIST+= RUBY=${RUBY}
|
2004-04-19 20:40:52 +02:00
|
|
|
|
2005-02-10 20:12:56 +01:00
|
|
|
PLIST_FILES= sbin/dtcpauth sbin/dtcpc sbin/dtcps
|
2005-02-04 13:50:16 +01:00
|
|
|
|
2004-04-19 20:40:52 +02:00
|
|
|
pre-install:
|
2005-02-10 20:12:56 +01:00
|
|
|
@for script in ${USE_RC_SUBR}; do \
|
|
|
|
if [ -f ${PREFIX}/etc/rc.d/$${script} ]; then \
|
|
|
|
${ECHO_MSG} "Remove old ${PREFIX}/etc/rc.d/$${script} before install."; \
|
2004-04-19 20:40:52 +02:00
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
2002-10-22 20:30:58 +02:00
|
|
|
.include <bsd.port.mk>
|