summaryrefslogtreecommitdiff
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
parent- Utilize PLIST_FILES (diff)
- Utilize PLIST_FILES
Notes
Notes: svn path=/head/; revision=104760
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%%