mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: dtcp
|
|
# Date Created: Sep 27 2002
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dtcp
|
|
PORTVERSION= 20040611
|
|
PORTREVISION= 1
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.imasy.or.jp/~ume/ipv6/ \
|
|
http://home.jp.FreeBSD.org/~ume/ipv6/
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
|
COMMENT= Dynamic Tunnel Configuration Protocol daemon and client
|
|
|
|
.if !defined(DTCP_CLIENT_ONLY)
|
|
RUN_DEPENDS= qpopauth:${PORTSDIR}/mail/qpopper
|
|
.endif
|
|
|
|
USE_RC_SUBR= dtcpc.sh dtcps.sh
|
|
USE_RUBY= yes
|
|
MAKE_ENV+= RUBY=${RUBY}
|
|
|
|
MAN8= dtcpauth.8 dtcpc.8 dtcps.8
|
|
MANCOMPRESSED= yes
|
|
|
|
SUB_LIST+= RUBY=${RUBY}
|
|
|
|
PLIST_FILES= sbin/dtcpauth sbin/dtcpc sbin/dtcps
|
|
|
|
pre-everything::
|
|
.if !defined(DTCP_CLIENT_ONLY)
|
|
@${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} ""
|
|
.endif
|
|
|
|
pre-install:
|
|
@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."; \
|
|
exit 1; \
|
|
fi; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|