blob: 5a27915f2dd3c24268cf68f8566335a744a2f3d4 (
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
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: freenet6
# Date created: 11 Oct 2001
# Whom: Edwin Groothuis (edwin@mavetju.org)
#
# $FreeBSD$
#
PORTNAME= freenet6
PORTVERSION= 5.1
PORTREVISION= 10
CATEGORIES= net ipv6
MASTER_SITES= http://go6.net/4105/file.asp?file_id=150&
DISTNAME= tspc-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= edwin@mavetju.org
COMMENT= Freenet6 Tunnel Setup Protocol Client - Free IPv6 tunnel
USE_RC_SUBR= yes
WRKSRC= ${WRKDIR}/tspc-advanced
MAN8= gw6c.8
MAN5= gw6c.conf.5
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_RC_SUBR= freenet6
SUB_FILES= pkg-message
MAKE_ARGS= target=freebsd installdir=${PREFIX}
PLIST_FILES= bin/gw6c bin/gw6c-freebsd.sh share/examples/freenet6/gw6c.conf
PLIST_DIRS= share/examples/freenet6
.include <bsd.port.pre.mk>
post-fetch:
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
${MV} ${DISTDIR}/file.asp*file_id*150* ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/gw6c ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/template/freebsd.sh ${PREFIX}/bin/gw6c-freebsd.sh
${MKDIR} ${PREFIX}/share/examples/freenet6
${INSTALL_DATA} ${WRKSRC}/bin/gw6c.conf.sample ${PREFIX}/share/examples/freenet6/gw6c.conf
${INSTALL_MAN} ${WRKSRC}/man/man5/gw6c.conf.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/man/man8/gw6c.8 ${PREFIX}/man/man8
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|