summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-02 14:11:47 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-02 14:11:47 +0000
commit7a01950bf67edc3f90935f87981f726ab6d8b253 (patch)
tree65eaa2e24f1cbb680d08523a4c7eb3145f7f96ca
parentFix module pathname. (diff)
Update to 1.4.1
Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=86188
-rw-r--r--www/ffproxy/Makefile16
-rw-r--r--www/ffproxy/distinfo2
-rw-r--r--www/ffproxy/files/patch-Makefile13
-rw-r--r--www/ffproxy/pkg-plist2
4 files changed, 16 insertions, 17 deletions
diff --git a/www/ffproxy/Makefile b/www/ffproxy/Makefile
index c69faf8565a8..0b3cbf203ef8 100644
--- a/www/ffproxy/Makefile
+++ b/www/ffproxy/Makefile
@@ -6,15 +6,27 @@
#
PORTNAME= ffproxy
-PORTVERSION= 1.4
+PORTVERSION= 1.4.1
CATEGORIES= www
MASTER_SITES= http://faith.eu.org/${PORTNAME}/
-MAINTAINER= krion@FreeBSD.org
+MAINTAINER= krion@FreeBSD.org
COMMENT= Filtering HTTP proxy server
+USE_REINPLACE= yes
+
MAN8= ${PORTNAME}.8
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|/etc|${PREFIX}/etc|g ; \
+ s|/usr/local|${PREFIX}|g ; \
+ s|/var/ffproxy|${DOCSDIR}|g' \
+ ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e \
+ 's|/etc|${PREFIX}/etc|g' \
+ ${WRKSRC}/${PORTNAME}.8
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 \
diff --git a/www/ffproxy/distinfo b/www/ffproxy/distinfo
index 36e89fe71409..27a48e080836 100644
--- a/www/ffproxy/distinfo
+++ b/www/ffproxy/distinfo
@@ -1 +1 @@
-MD5 (ffproxy-1.4.tar.gz) = 1fb5e67a284395421419dab3a982e648
+MD5 (ffproxy-1.4.1.tar.gz) = d450fda6dcee92418d24d44faa2f8293
diff --git a/www/ffproxy/files/patch-Makefile b/www/ffproxy/files/patch-Makefile
deleted file mode 100644
index d191fa847c3a..000000000000
--- a/www/ffproxy/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Sun Jul 20 19:17:45 2003
-+++ Makefile Sun Jul 20 19:19:10 2003
-@@ -12,8 +12,8 @@
-
- MANPAGES = ffproxy.8
-
--PREFIX = /usr/local
--CC = gcc
-+PREFIX = ${PREFIX}
-+CC ?= gcc
-
- all: proxy
-
diff --git a/www/ffproxy/pkg-plist b/www/ffproxy/pkg-plist
index d5559eb8c60e..326b3039f2d9 100644
--- a/www/ffproxy/pkg-plist
+++ b/www/ffproxy/pkg-plist
@@ -1,5 +1,6 @@
bin/ffproxy
etc/ffproxy.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/db/access.dyndns
%%PORTDOCS%%%%DOCSDIR%%/db/access.host
%%PORTDOCS%%%%DOCSDIR%%/db/access.ip
@@ -18,7 +19,6 @@ etc/ffproxy.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/html/notcached
%%PORTDOCS%%%%DOCSDIR%%/html/post
%%PORTDOCS%%%%DOCSDIR%%/html/resolve
-%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%/db
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%