Index: head/net/portfwd/Makefile =================================================================== --- head/net/portfwd/Makefile (revision 421861) +++ head/net/portfwd/Makefile (revision 421862) @@ -1,35 +1,38 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= portfwd PORTVERSION= 0.29 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF MAINTAINER= ale@FreeBSD.org COMMENT= Port Forwarding Daemon -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= Does not build OPTIONS_DEFINE= DOCS EXAMPLES GNU_CONFIGURE= yes -USES= gmake +USES= autoreconf gmake USE_RC_SUBR= ${PORTNAME} post-patch: @${REINPLACE_CMD} -e "s|-Wall -ggdb -O3|${CFLAGS}|g" \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e "s|-Wall -g -O3|${CFLAGS}|g" \ - ${WRKSRC}/tools/Makefile.in + ${WRKSRC}/tools/Makefile.am @${TOUCH} ${WRKSRC}/* ${WRKSRC}/*/* post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/cfg/*.cfg ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d .include Index: head/net/portfwd/files/patch-Makefile.in =================================================================== --- head/net/portfwd/files/patch-Makefile.in (revision 421861) +++ head/net/portfwd/files/patch-Makefile.in (nonexistent) @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sun May 5 16:53:37 2002 -+++ Makefile.in Sun May 5 16:54:13 2002 -@@ -70,7 +70,7 @@ - - SUBDIRS = getopt src tools doc - --docdir = $(prefix)/doc/portfwd -+docdir = $(prefix)/share/doc/portfwd - doc_DATA = COPYING README CREDITS TODO - ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs Property changes on: head/net/portfwd/files/patch-Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/portfwd/files/patch-doc__Makefile.in =================================================================== --- head/net/portfwd/files/patch-doc__Makefile.in (revision 421861) +++ head/net/portfwd/files/patch-doc__Makefile.in (nonexistent) @@ -1,11 +0,0 @@ ---- doc/Makefile.in.orig Sun May 5 18:01:09 2002 -+++ doc/Makefile.in Sun May 5 18:01:31 2002 -@@ -71,7 +71,7 @@ - man_MANS = portfwd.8 portfwd.cfg.5 - noinst_DATA = INSTALL.configure - --docdir = $(prefix)/doc/portfwd -+docdir = $(prefix)/share/doc/portfwd - doc_DATA = FAQ conf.txt - mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs - CONFIG_HEADER = ../config.h Property changes on: head/net/portfwd/files/patch-doc__Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/portfwd/files/patch-Makefile.am =================================================================== --- head/net/portfwd/files/patch-Makefile.am (nonexistent) +++ head/net/portfwd/files/patch-Makefile.am (revision 421862) @@ -0,0 +1,8 @@ +--- Makefile.am.orig 2016-08-27 09:36:16 UTC ++++ Makefile.am +@@ -1,4 +1,4 @@ + SUBDIRS = getopt src tools doc + +-docdir = $(prefix)/doc/portfwd ++docdir = $(prefix)/share/doc/portfwd + doc_DATA = COPYING README CREDITS TODO Property changes on: head/net/portfwd/files/patch-Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/portfwd/files/patch-doc_Makefile.am =================================================================== --- head/net/portfwd/files/patch-doc_Makefile.am (nonexistent) +++ head/net/portfwd/files/patch-doc_Makefile.am (revision 421862) @@ -0,0 +1,9 @@ +--- doc/Makefile.am.orig 2016-08-27 09:36:16 UTC ++++ doc/Makefile.am +@@ -3,5 +3,5 @@ + man_MANS = portfwd.8 portfwd.cfg.5 + noinst_DATA = INSTALL.configure + +-docdir = $(prefix)/doc/portfwd ++docdir = $(prefix)/share/doc/portfwd + doc_DATA = FAQ conf.txt Property changes on: head/net/portfwd/files/patch-doc_Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/portfwd/pkg-plist =================================================================== --- head/net/portfwd/pkg-plist (revision 421861) +++ head/net/portfwd/pkg-plist (revision 421862) @@ -1,27 +1,27 @@ sbin/portfwd man/man5/portfwd.cfg.5.gz man/man8/portfwd.8.gz %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/FAQ %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%%%DOCSDIR%%/conf.txt -%%EXAMPLESDIR%%/alias.cfg -%%EXAMPLESDIR%%/bind-new.cfg -%%EXAMPLESDIR%%/bind.cfg -%%EXAMPLESDIR%%/chain.cfg -%%EXAMPLESDIR%%/debug_ftp.cfg -%%EXAMPLESDIR%%/dns.cfg -%%EXAMPLESDIR%%/empty.cfg -%%EXAMPLESDIR%%/external-director.cfg -%%EXAMPLESDIR%%/fragile.cfg -%%EXAMPLESDIR%%/ftp.cfg -%%EXAMPLESDIR%%/load-balance.cfg -%%EXAMPLESDIR%%/mail.cfg -%%EXAMPLESDIR%%/portfwd1.cfg -%%EXAMPLESDIR%%/portfwd2.cfg -%%EXAMPLESDIR%%/single.cfg -%%EXAMPLESDIR%%/test.cfg -%%EXAMPLESDIR%%/udp.cfg -%%EXAMPLESDIR%%/x.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alias.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bind-new.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bind.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chain.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/debug_ftp.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/empty.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/external-director.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fragile.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ftp.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/load-balance.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mail.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/portfwd1.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/portfwd2.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/single.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/x.cfg