summaryrefslogtreecommitdiffstats
path: root/net/prtunnel
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-20 18:17:28 +0000
committerkrion <krion@FreeBSD.org>2004-03-20 18:17:28 +0000
commit704f648390e42f99de3a77e9a9a70b0e6bb425cc (patch)
treee5509fb70d67032473f63fe890300fdecf4ea30f /net/prtunnel
parent3131269d4cdaeb247c1f6f1f0bcafdb2ba3454d6 (diff)
downloadFreeBSD-ports-704f648390e42f99de3a77e9a9a70b0e6bb425cc.zip
FreeBSD-ports-704f648390e42f99de3a77e9a9a70b0e6bb425cc.tar.gz
- Utilize PLIST_FILES
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 de24b93..fd770b7 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 a1a75f6..0000000
--- a/net/prtunnel/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/prtunnel
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud