aboutsummaryrefslogtreecommitdiff
path: root/net/freenet6/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-05-14 03:50:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-05-14 03:50:11 +0000
commitbd6055a9e54024380e2dca95dd10137679c775d5 (patch)
treef9f62ea6f042ae6d9b5bd96e6e3b7b0c0af2da05 /net/freenet6/Makefile
parentdd2d5b04cd8cc60227c81bdd36150f4ebf69c10e (diff)
downloadports-bd6055a9e54024380e2dca95dd10137679c775d5.tar.gz
ports-bd6055a9e54024380e2dca95dd10137679c775d5.zip
Notes
Diffstat (limited to 'net/freenet6/Makefile')
-rw-r--r--net/freenet6/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/freenet6/Makefile b/net/freenet6/Makefile
index e3fc5e10a561..e5b375d4e140 100644
--- a/net/freenet6/Makefile
+++ b/net/freenet6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freenet6
PORTVERSION= 2.1.1
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net ipv6
MASTER_SITES= http://www.go6.net/4105/file.asp?file_id=80&foo=/
DISTNAME= tspc-${PORTVERSION}-src
@@ -27,6 +27,12 @@ SUB_FILES= freenet6.sh pkg-message
EXTRA_PATCHES= ${FILESDIR}/patch5-template::freebsd.sh
MAKE_ARGS= target=freebsd installdir=${PREFIX}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 700000
+EXTRA_PATCHES+= patch7-plstform__freebsd__tsp_local.c
+.endif
+
do-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${EXAMPLESDIR}
@@ -53,4 +59,4 @@ post-patch:
-e "s|template=linux|template=tspc-freebsd|g" \
${WRKSRC}/man/man5/tspc.conf.5
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>