diff --git a/www/transproxy/Makefile b/www/transproxy/Makefile index d1e77fb7d6b9..bc133647597d 100644 --- a/www/transproxy/Makefile +++ b/www/transproxy/Makefile @@ -1,17 +1,18 @@ PORTNAME= transproxy PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Transparent HTTP proxy for ipfw's fwd rule or IPFILTER's ipnat command WWW= https://transproxy.sourceforge.net/ LICENSE= BSD4CLAUSE # ish; 3 clauses but both advertising and promotion are there LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= tar:tgz USE_RC_SUBR= tproxy .include diff --git a/www/transproxy/files/patch-Makefile b/www/transproxy/files/patch-Makefile index 6dbaf50957e2..a3260a38adab 100644 --- a/www/transproxy/files/patch-Makefile +++ b/www/transproxy/files/patch-Makefile @@ -1,39 +1,39 @@ --- Makefile.orig 2004-03-31 12:19:34 UTC +++ Makefile @@ -64,17 +64,17 @@ OPTIONS += -DIPTABLES #OPTIONS += -DHAVE_GETOPT_H # You may need to touch PREFIX, CC and CFLAGS. -PREFIX = /usr/local -INSTALL_PROGRAM = install -c -m 555 -o bin -g bin -INSTALL_MAN = install -c -m 444 -o bin -g bin +#PREFIX = /usr/local +#INSTALL_PROGRAM = install -c -m 555 -o bin -g bin +#INSTALL_MAN = install -c -m 444 -o bin -g bin # Some make's don't define this. -RM = rm -f +#RM = rm -f # Should be OK for GNU gcc. -CC = gcc -CFLAGS = -O2 -Wall -LDFLAGS = -s +#CC = gcc +#CFLAGS = -O2 -Wall +#LDFLAGS = -s # For using BIND resolver instead of system resolver. #LIBS += -lresolv # Really old Linux has this. @@ -103,7 +103,7 @@ clobber dist-clean: clean $(RM) tproxy install: tproxy - $(INSTALL_PROGRAM) tproxy $(PREFIX)/sbin - $(INSTALL_PROGRAM) tproxyrun $(PREFIX)/sbin - $(INSTALL_PROGRAM) tproxywatch $(PREFIX)/sbin - $(INSTALL_MAN) tproxy.8 $(PREFIX)/man/man8 + $(BSD_INSTALL_PROGRAM) tproxy $(DESTDIR)/$(PREFIX)/sbin + $(BSD_INSTALL_SCRIPT) tproxyrun $(DESTDIR)$(PREFIX)/sbin + $(BSD_INSTALL_SCRIPT) tproxywatch $(DESTDIR)$(PREFIX)/sbin -+ $(BSD_INSTALL_MAN) tproxy.8 $(DESTDIR)/$(PREFIX)/man/man8 ++ $(BSD_INSTALL_MAN) tproxy.8 $(DESTDIR)/$(PREFIX)/share/man/man8 diff --git a/www/transproxy/pkg-plist b/www/transproxy/pkg-plist index 514fe55933fc..dc067cf11431 100644 --- a/www/transproxy/pkg-plist +++ b/www/transproxy/pkg-plist @@ -1,4 +1,4 @@ -man/man8/tproxy.8.gz +share/man/man8/tproxy.8.gz sbin/tproxy sbin/tproxyrun sbin/tproxywatch