svn commit: r358959 - in head/net/prtunnel: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Jun 23 14:29:08 UTC 2014
Author: vanilla
Date: Mon Jun 23 14:29:07 2014
New Revision: 358959
URL: http://svnweb.freebsd.org/changeset/ports/358959
QAT: https://qat.redports.org/buildarchive/r358959/
Log:
Stagify.
Approved by: portmgr
Added:
head/net/prtunnel/files/
head/net/prtunnel/files/patch-Makefile (contents, props changed)
Modified:
head/net/prtunnel/Makefile
Modified: head/net/prtunnel/Makefile
==============================================================================
--- head/net/prtunnel/Makefile Mon Jun 23 14:22:55 2014 (r358958)
+++ head/net/prtunnel/Makefile Mon Jun 23 14:29:07 2014 (r358959)
@@ -11,21 +11,18 @@ COMMENT= Tunnel for TCP connections usin
ALL_TARGET= ${PORTNAME}
-MAN1= prtunnel.1
-
PORTDOCS= ChangeLog README
-PLIST_FILES= bin/prtunnel
+PLIST_FILES= bin/prtunnel man/man1/prtunnel.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|PREFIX)/d' \
${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
Added: head/net/prtunnel/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/prtunnel/files/patch-Makefile Mon Jun 23 14:29:07 2014 (r358959)
@@ -0,0 +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)
+ $(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
+
+ uninstall:
+ rm -f $(PREFIX)/bin/prtunnel
More information about the svn-ports-head
mailing list