diff --git a/net/prtunnel/Makefile b/net/prtunnel/Makefile index 7b97acc62649..ad937b3aa48f 100644 --- a/net/prtunnel/Makefile +++ b/net/prtunnel/Makefile @@ -1,27 +1,28 @@ PORTNAME= prtunnel PORTVERSION= 0.2.7 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://joshbeam.com/files/ MAINTAINER= vd@FreeBSD.org COMMENT= Tunnel for TCP connections using an HTTP or SOCKS5 proxy WWW= https://www.joshbeam.com/software/prtunnel/ ALL_TARGET= ${PORTNAME} PORTDOCS= ChangeLog README -PLIST_FILES= bin/prtunnel man/man1/prtunnel.1.gz +PLIST_FILES= bin/prtunnel share/man/man1/prtunnel.1.gz OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E '/^(CC|CFLAGS|PREFIX)/d' \ ${WRKSRC}/Makefile post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/prtunnel/files/patch-Makefile b/net/prtunnel/files/patch-Makefile index 097bccba195c..a190f91fe4d7 100644 --- a/net/prtunnel/files/patch-Makefile +++ b/net/prtunnel/files/patch-Makefile @@ -1,13 +1,13 @@ ---- Makefile.orig 2014-06-23 22:26:53.428301384 +0800 -+++ Makefile 2014-06-23 22:27:04.258298966 +0800 -@@ -8,8 +8,8 @@ prtunnel: $(OBJS) +--- Makefile.orig 2006-01-08 22:19:09 UTC ++++ Makefile +@@ -8,8 +8,8 @@ install: $(CC) $(OBJS) -o prtunnel install: - install -c prtunnel $(PREFIX)/bin/prtunnel - install -c prtunnel.1 $(PREFIX)/man/man1/prtunnel.1 + install -c prtunnel $(DESTDIR)$(PREFIX)/bin/prtunnel -+ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/man/man1/prtunnel.1 ++ install -c prtunnel.1 $(DESTDIR)$(PREFIX)/share/man/man1/prtunnel.1 uninstall: rm -f $(PREFIX)/bin/prtunnel