aboutsummaryrefslogtreecommitdiff
path: root/net/portfwd
diff options
context:
space:
mode:
Diffstat (limited to 'net/portfwd')
-rw-r--r--net/portfwd/Makefile15
-rw-r--r--net/portfwd/distinfo4
-rw-r--r--net/portfwd/pkg-plist1
3 files changed, 7 insertions, 13 deletions
diff --git a/net/portfwd/Makefile b/net/portfwd/Makefile
index 1b6104cf3d55..b6338bc34ad9 100644
--- a/net/portfwd/Makefile
+++ b/net/portfwd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= portfwd
-PORTVERSION= 0.26
-PORTREVISION= 1
+PORTVERSION= 0.28
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,20 +15,14 @@ MAINTAINER= ale@FreeBSD.org
COMMENT= A Port Forwarding Daemon
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_REINPLACE= yes
MAN5= portfwd.cfg.5
MAN8= portfwd.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-USE_GCC= 3.3
-.endif
-
post-patch:
+ @${ECHO_CMD} -n > ${WRKSRC}/config/missing
@${REINPLACE_CMD} -e "s|-Wall -ggdb -O3|${CFLAGS}|g" \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e "s|-Wall -g -O3|${CFLAGS}|g" \
@@ -46,6 +39,6 @@ post-configure:
post-install:
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/cfg/* ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/cfg/*.cfg ${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/portfwd/distinfo b/net/portfwd/distinfo
index 19b59357e09c..74c66927d4a8 100644
--- a/net/portfwd/distinfo
+++ b/net/portfwd/distinfo
@@ -1,2 +1,2 @@
-MD5 (portfwd-0.26.tar.gz) = bd15556136f1067ed7440907372bf9c8
-SIZE (portfwd-0.26.tar.gz) = 153671
+MD5 (portfwd-0.28.tar.gz) = 344cab684b41c90343159a56e06d1949
+SIZE (portfwd-0.28.tar.gz) = 173202
diff --git a/net/portfwd/pkg-plist b/net/portfwd/pkg-plist
index cadd57d64006..9a8cf9b83cb3 100644
--- a/net/portfwd/pkg-plist
+++ b/net/portfwd/pkg-plist
@@ -15,6 +15,7 @@ sbin/portfwd
%%EXAMPLESDIR%%/dns.cfg
%%EXAMPLESDIR%%/empty.cfg
%%EXAMPLESDIR%%/external-director.cfg
+%%EXAMPLESDIR%%/fragile.cfg
%%EXAMPLESDIR%%/ftp.cfg
%%EXAMPLESDIR%%/load-balance.cfg
%%EXAMPLESDIR%%/mail.cfg