Stagify. Modernize.
This commit is contained in:
parent
d327b8141c
commit
d1e85356d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355762
2 changed files with 18 additions and 17 deletions
|
@ -27,8 +27,8 @@ CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \
|
||||||
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-* \
|
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-* \
|
||||||
libfwbuilder-[234].* libfwbuilder-devel-*
|
libfwbuilder-[234].* libfwbuilder-devel-*
|
||||||
.endif
|
.endif
|
||||||
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
|
LIB_DEPENDS= libxslt.so:${PORTSDIR}/textproc/libxslt \
|
||||||
netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
|
libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
|
||||||
|
|
||||||
PLIST_SUB= BUILD_VERSION=${DISTVERSION}.${BUILD}
|
PLIST_SUB= BUILD_VERSION=${DISTVERSION}.${BUILD}
|
||||||
USE_QT4= corelib \
|
USE_QT4= corelib \
|
||||||
|
@ -46,33 +46,26 @@ USE_QT4= corelib \
|
||||||
QTDIR?= ${QT_PREFIX}
|
QTDIR?= ${QT_PREFIX}
|
||||||
|
|
||||||
USE_OPENSSL= yes
|
USE_OPENSSL= yes
|
||||||
USES= gmake
|
USES= gmake libtool
|
||||||
USE_AUTOTOOLS= autoconf aclocal libtool
|
USE_AUTOTOOLS= autoconf aclocal
|
||||||
CONFIGURE_SCRIPT= autogen.sh
|
CONFIGURE_SCRIPT= autogen.sh
|
||||||
GNU_CONFIGURE= yes
|
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
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
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}" \
|
MAKE_ARGS+= QTDIR="${QTDIR}" \
|
||||||
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
||||||
|
MAKE_ENV= INSTALL_ROOT=${STAGEDIR}
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
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)
|
.if !defined(NOPORTDOCS)
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 800107
|
.if ${OSVERSION} >= 800107
|
||||||
|
@ -85,7 +78,7 @@ RUN_DEPENDS= rcs:${PORTSDIR}/devel/rcs57
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
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} If you are upgrading from a previous version of fwbuilder,
|
||||||
@${ECHO} please make sure to backup your fwbuilder database files
|
@${ECHO} please make sure to backup your fwbuilder database files
|
||||||
@${ECHO} prior to invoking fwbuilder for the first time.
|
@${ECHO} prior to invoking fwbuilder for the first time.
|
||||||
|
|
|
@ -7,6 +7,14 @@ bin/fwb_pix
|
||||||
bin/fwbedit
|
bin/fwbedit
|
||||||
bin/fwbuilder
|
bin/fwbuilder
|
||||||
bin/fwb_procurve_acl
|
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/applications/fwbuilder.desktop
|
||||||
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_interface
|
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_interface
|
||||||
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_port
|
share/fwbuilder-%%BUILD_VERSION%%/configlets/bsd/bridge_port
|
||||||
|
|
Loading…
Reference in a new issue