mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# New ports collection makefile for: dtcp
|
|
# Date Created: Sep 27 2002
|
|
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dtcp
|
|
PORTVERSION= 20030228
|
|
#PORTREVISION= 0
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.imasy.or.jp/~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_RUBY= yes
|
|
RUBY_SHEBANG_FILES= ${WRKSRC}/dtcpauth.rb ${WRKSRC}/dtcpc.rb \
|
|
${WRKSRC}/dtcps.rb
|
|
|
|
MAN8= dtcpauth.8 dtcpc.8 dtcps.8
|
|
MANCOMPRESSED= yes
|
|
|
|
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
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dtcpc.sh \
|
|
${PREFIX}/etc/rc.d/dtcpc.sh.sample
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dtcps.sh \
|
|
${PREFIX}/etc/rc.d/dtcps.sh.sample
|
|
|
|
.include <bsd.port.mk>
|