2002-10-22 18:30:58 +00:00
|
|
|
# New ports collection makefile for: dtcp
|
|
|
|
# Date Created: Sep 27 2002
|
|
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dtcp
|
2004-06-10 16:33:06 +00:00
|
|
|
PORTVERSION= 20040611
|
2004-06-11 15:54:34 +00:00
|
|
|
PORTREVISION= 1
|
2002-10-22 18:30:58 +00:00
|
|
|
CATEGORIES= net ipv6
|
2004-02-21 22:05:47 +00:00
|
|
|
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \
|
|
|
|
http://home.jp.FreeBSD.org/~ume/ipv6/
|
2002-10-22 18:30:58 +00:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
2003-02-20 20:10:05 +00:00
|
|
|
COMMENT= Dynamic Tunnel Configuration Protocol daemon and client
|
2002-10-22 18:30:58 +00:00
|
|
|
|
|
|
|
.if !defined(DTCP_CLIENT_ONLY)
|
|
|
|
RUN_DEPENDS= qpopauth:${PORTSDIR}/mail/qpopper
|
|
|
|
.endif
|
|
|
|
|
2005-02-10 19:12:56 +00:00
|
|
|
USE_RC_SUBR= dtcpc.sh dtcps.sh
|
2002-10-22 18:30:58 +00:00
|
|
|
USE_RUBY= yes
|
2004-06-07 17:35:36 +00:00
|
|
|
MAKE_ENV+= RUBY=${RUBY}
|
2002-10-22 18:30:58 +00:00
|
|
|
|
2003-01-01 19:53:08 +00:00
|
|
|
MAN8= dtcpauth.8 dtcpc.8 dtcps.8
|
2002-10-22 18:30:58 +00:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2005-02-10 19:12:56 +00:00
|
|
|
SUB_LIST+= RUBY=${RUBY}
|
2004-04-19 18:40:52 +00:00
|
|
|
|
2005-02-10 19:12:56 +00:00
|
|
|
PLIST_FILES= sbin/dtcpauth sbin/dtcpc sbin/dtcps
|
2005-02-04 12:50:16 +00:00
|
|
|
|
2003-02-28 22:53:02 +00:00
|
|
|
pre-everything::
|
2002-10-22 18:30:58 +00:00
|
|
|
.if !defined(DTCP_CLIENT_ONLY)
|
2003-09-27 03:28:50 +00:00
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "If you don't use DTCP server, you don't need qpopper."
|
|
|
|
@${ECHO_MSG} "In that case, You may use DTCP_CLIENT_ONLY=yes to avoid building qpopper."
|
|
|
|
@${ECHO_MSG} ""
|
2002-10-22 18:30:58 +00:00
|
|
|
.endif
|
|
|
|
|
2004-04-19 18:40:52 +00:00
|
|
|
pre-install:
|
2005-02-10 19:12:56 +00: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 18:40:52 +00:00
|
|
|
exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
2002-10-22 18:30:58 +00:00
|
|
|
.include <bsd.port.mk>
|