Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 13:56:39 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341174 - head/net/miniupnpd
Message-ID:  <201401261356.s0QDudZb057776@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jan 26 13:56:39 2014
New Revision: 341174
URL: http://svnweb.freebsd.org/changeset/ports/341174
QAT: https://qat.redports.org/buildarchive/r341174/

Log:
  net/miniupnpd: Fix PF rules issue, support stage
  
  PR:		ports/184726
  Submitted by:	Chris Scott
  Approved by:	maintainer (Tor Halvard Furulund)
  Stage support:	marino@

Modified:
  head/net/miniupnpd/Makefile

Modified: head/net/miniupnpd/Makefile
==============================================================================
--- head/net/miniupnpd/Makefile	Sun Jan 26 13:48:06 2014	(r341173)
+++ head/net/miniupnpd/Makefile	Sun Jan 26 13:56:39 2014	(r341174)
@@ -9,26 +9,24 @@ MASTER_SITES=	http://miniupnp.tuxfamily.
 		http://miniupnp.free.fr/files/
 
 MAINTAINER=	squat@squat.no
-COMMENT=	A UPnP IGD implementation which uses pf/ipf
+COMMENT=	UPnP IGD implementation which uses pf/ipf
 
 SUB_FILES=	miniupnpd.conf.sample
 SUB_LIST=	UUID=${UUID}
 
 UUID!=		uuidgen
 FWNAME?=	pf
-PLIST_FILES=	etc/miniupnpd.conf.sample sbin/miniupnpd
+PLIST_FILES=	etc/miniupnpd.conf.sample sbin/miniupnpd \
+		man/man8/miniupnpd.8.gz
 MAKE_JOBS_UNSAFE=yes
 
-MAN8=		miniupnpd.8
-
 USE_RC_SUBR=	miniupnpd
 
 OPTIONS_DEFINE=	PF_ENABLE_FILTER_RULES
 PF_ENABLE_FILTER_RULES_DESC=	Enable pf generation of filter rules
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MWITH_PF_ENABLE_FILTER_RULES}
+.if ${PORT_OPTIONS:MPF_ENABLE_FILTER_RULES}
 EXTRA_PATCHES=	${PATCHDIR}/pf_enable_filter_rules.patch
 .endif
 
@@ -37,9 +35,10 @@ post-patch-script:
 		${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${PREFIX}/sbin
-	@${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample ${PREFIX}/etc/miniupnpd.conf.sample
-	@${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 ${MAN8PREFIX}/man/man8/miniupnpd.8
-	@${CAT} ${PKGMESSAGE}
+	@${INSTALL_PROGRAM} ${WRKSRC}/miniupnpd ${STAGEDIR}${PREFIX}/sbin
+	@${INSTALL_DATA} ${WRKDIR}/miniupnpd.conf.sample \
+		${STAGEDIR}${PREFIX}/etc/miniupnpd.conf.sample
+	@${INSTALL_MAN} ${WRKSRC}/miniupnpd.8 \
+		${STAGEDIR}${MAN8PREFIX}/man/man8/miniupnpd.8
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401261356.s0QDudZb057776>