aboutsummaryrefslogtreecommitdiff
path: root/net/prtunnel
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-20 18:17:28 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-20 18:17:28 +0000
commit1938835e59de0d679755011ec6063e2740d9773e (patch)
treed06a4a61c76a762efdcc9cd6d6316f42e1407d01 /net/prtunnel
parent2cc2bac489939dbfdaf792a123e33aa77c49ce74 (diff)
downloadports-1938835e59de0d679755011ec6063e2740d9773e.tar.gz
ports-1938835e59de0d679755011ec6063e2740d9773e.zip
Notes
Diffstat (limited to 'net/prtunnel')
-rw-r--r--net/prtunnel/Makefile6
-rw-r--r--net/prtunnel/pkg-plist3
2 files changed, 4 insertions, 5 deletions
diff --git a/net/prtunnel/Makefile b/net/prtunnel/Makefile
index de24b93d7962..fd770b7be7ea 100644
--- a/net/prtunnel/Makefile
+++ b/net/prtunnel/Makefile
@@ -19,9 +19,11 @@ ALL_TARGET= ${PORTNAME}
MAN1= prtunnel.1
+PORTDOCS= README
+PLIST_FILES= bin/prtunnel
+
post-patch:
- @${REINPLACE_CMD} -e \
- 's|%%PREFIX%%|${PREFIX}|g ; \
+ @${REINPLACE_CMD} -e 's|^PREFIX=|#PREFIX=|g ; \
s|CC=gcc|CC?=gcc|g ; \
s|CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile
diff --git a/net/prtunnel/pkg-plist b/net/prtunnel/pkg-plist
deleted file mode 100644
index a1a75f6e4c44..000000000000
--- a/net/prtunnel/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/prtunnel
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%