aboutsummaryrefslogtreecommitdiffstats
path: root/net/freenet6/Makefile
blob: 2e638229134e00e7db31005a027d42bc846ef738 (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
# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$

PORTNAME=   freenet6
DISTVERSION=    6_0_1
PORTREVISION=   1
CATEGORIES= net ipv6
MASTER_SITES=   http://go6.net/4105/file.asp?file_id=166&
DISTNAME=   tspc-${PORTVERSION}-src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Hexago Freenet6 Tunnel Setup Protocol Client - Free IPv6 tunnel

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/../CLIENT-LICENSE.TXT

USES=       gmake ssl tar:tgz
MAKE_ARGS=  target=freebsd CC="${CC}" CXX="${CXX}" \
        installdir="${STAGEDIR}${PREFIX}" ETCDIR="${ETCDIR}"

WRKSRC=     ${WRKDIR}/gw6c-${DISTVERSION}/tspc-advanced

USE_RC_SUBR=    freenet6
SUB_FILES=  pkg-message

MAKE_JOBS_UNSAFE=yes

post-fetch:
    @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
        ${MV} ${DISTDIR}/file.asp*file_id*166* \
            ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \
    fi

.include <bsd.port.mk>