aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-05-30 08:26:39 +0800
committercy <cy@FreeBSD.org>2014-05-30 08:26:39 +0800
commit3d272894e419c51693391bb40f2e11a466169c56 (patch)
treefe65772fe4df024b33be5378cf71a73c2559d930 /security
parentafeed15f00037981009c906203cb858f3bbd3752 (diff)
downloadfreebsd-ports-gnome-3d272894e419c51693391bb40f2e11a466169c56.tar.gz
freebsd-ports-gnome-3d272894e419c51693391bb40f2e11a466169c56.tar.zst
freebsd-ports-gnome-3d272894e419c51693391bb40f2e11a466169c56.zip
Stagify. Modernize.
Diffstat (limited to 'security')
-rw-r--r--security/fwbuilder/Makefile27
-rw-r--r--security/fwbuilder/pkg-plist8
2 files changed, 18 insertions, 17 deletions
diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile
index 82d487ff9988..199e81c3dc12 100644
--- a/security/fwbuilder/Makefile
+++ b/security/fwbuilder/Makefile
@@ -27,8 +27,8 @@ CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-* \
libfwbuilder-[234].* libfwbuilder-devel-*
.endif
-LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
- netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS= libxslt.so:${PORTSDIR}/textproc/libxslt \
+ libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
PLIST_SUB= BUILD_VERSION=${DISTVERSION}.${BUILD}
USE_QT4= corelib \
@@ -46,33 +46,26 @@ USE_QT4= corelib \
QTDIR?= ${QT_PREFIX}
USE_OPENSSL= yes
-USES= gmake
-USE_AUTOTOOLS= autoconf aclocal libtool
+USES= gmake libtool
+USE_AUTOTOOLS= autoconf aclocal
CONFIGURE_SCRIPT= autogen.sh
GNU_CONFIGURE= yes
-CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ INSTALL_ROOT=${STAGEDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR} \
+ --prefix=${PREFIX}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+MAKE_ENV= INSTALL_ROOT=${STAGEDIR}
USE_LDCONFIG= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
-MAN1= fwbuilder.1 \
- fwbedit.1 \
- fwb_iosacl.1 \
- fwb_ipt.1 \
- fwb_ipf.1 \
- fwb_ipfw.1 \
- fwb_pix.1 \
- fwb_pf.1
-
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800107
@@ -85,7 +78,7 @@ RUN_DEPENDS= rcs:${PORTSDIR}/devel/rcs57
.endif
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/fwbuilder
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fwbuilder
@${ECHO} If you are upgrading from a previous version of fwbuilder,
@${ECHO} please make sure to backup your fwbuilder database files
@${ECHO} prior to invoking fwbuilder for the first time.
diff --git a/security/fwbuilder/pkg-plist b/security/fwbuilder/pkg-plist
index 771b6325d216..30956bdb3b08 100644
--- a/security/fwbuilder/pkg-plist
+++ b/security/fwbuilder/pkg-plist
@@ -7,6 +7,14 @@ bin/fwb_pix
bin/fwbedit
bin/fwbuilder
bin/fwb_procurve_acl
+man/man1/fwbuilder.1.gz
+man/man1/fwbedit.1.gz
+man/man1/fwb_iosacl.1.gz
+man/man1/fwb_ipt.1.gz
+man/man1/fwb_ipf.1.gz
+man/man1/fwb_ipfw.1.gz
+man/man1/fwb_pix.1.gz
+man/man1/fwb_pf.1.gz
share/applications/fwbuilder.desktop
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_interface
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_port