aboutsummaryrefslogtreecommitdiffstats
path: root/net/dtcp/Makefile
blob: 73fe9c87cc66a51254fdf5809c08aa7a2e1d13e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    dtcp
# Date Created:     Sep 27 2002
# Whom:         Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   dtcp
PORTVERSION=    20060109
#PORTREVISION=  0
CATEGORIES= net ipv6
MASTER_SITES=   http://www.mahoroba.org/~ume/ipv6/ \
        http://home.jp.FreeBSD.org/~ume/ipv6/

MAINTAINER= ume@FreeBSD.org
COMMENT=    Dynamic Tunnel Configuration Protocol daemon and client

.if defined(WITH_QPOPAUTH)
RUN_DEPENDS=    qpopauth:${PORTSDIR}/mail/qpopper
.endif

USE_RC_SUBR=    dtcpc dtcps
USE_RUBY=   yes
RUBY_VER=   1.8
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-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>