freebsd-ports/devel/wxformbuilder/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

44 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= wxformbuilder
DISTVERSION= 3.5.0-beta
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-nightly/${DISTVERSION}
DISTNAME= wxFormBuilder_v${DISTVERSION}-source
MAINTAINER= shurd@FreeBSD.org
COMMENT= WYSIWYG GUI Designer and Code Generator for wxWidgets
LICENSE= GPLv2
USES= compiler:c++11-lib dos2unix gmake zip
USE_CSTD= c++11
USE_LDCONFIG= yes
USE_WX= 3.0+
WANT_UNICODE= yes
WRKSRC= ${WRKDIR}/source
MAKE_ARGS= config=release ARCH=
BUILD_WRKSRC= ${WRKSRC}/build/${WX_VERSION}/gmake
DOS2UNIX_GLOB= *.lua
do-configure:
cd ${WRKSRC} && ${SH} create_build_files4.sh
post-patch:
@${REINPLACE_CMD} -e 's|%%WX_CONFIG%%|${WX_CONFIG}|g' ${WRKSRC}/build/premake/wxwidgets.lua \
${WRKSRC}/create_build_files4.sh ${WRKSRC}/sdk/plugin_interface/premake.lua \
${WRKSRC}/sdk/premake/scripts/wxpresets.lua
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/wxformbuilder
(cd ${WRKSRC}/output && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
(cd ${STAGEDIR}${DATADIR}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin)
${RM} -r ${STAGEDIR}${DATADIR}/bin/
(cd ${STAGEDIR}${DATADIR}/lib && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/lib)
${RM} -r ${STAGEDIR}${DATADIR}/lib/
${RM} -r ${STAGEDIR}${DATADIR}/share/
${RM} ${STAGEDIR}${DATADIR}/license.txt
${RM} ${STAGEDIR}${DATADIR}/Changelog.txt
.include <bsd.port.mk>