Index: head/devel/gps/Makefile =================================================================== --- head/devel/gps/Makefile (revision 416640) +++ head/devel/gps/Makefile (revision 416641) @@ -1,133 +1,133 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= gps PORTVERSION= 6.1.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= http://downloads.dragonlace.net/src/ DISTNAME= gps-6.1.1-src PKGNAMESUFFIX= -ide MAINTAINER= marino@FreeBSD.org COMMENT= GNAT Programming Studio - IDE for Ada and many other languages LICENSE= GPLv3 BUILD_DEPENDS= gprbuild:devel/gprbuild \ xmlada>=4.4:textproc/xmlada \ gnatcoll>=2015:devel/gnatcoll \ templates_parser>11:textproc/templates_parser LIB_DEPENDS= libgtkada.so:x11-toolkits/gtkada3 RUN_DEPENDS= rsvg-convert:graphics/librsvg2 \ gdb${PORTGDB}:devel/gdb \ gprbuild:devel/gprbuild \ ${PYTHON_PKGNAMEPREFIX}pep8>0:devel/pep8 \ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi GNU_CONFIGURE= yes USES= ada:run gmake perl5 pkgconfig python USE_PERL5= build USE_GNOME= glib20 pygobject3 PYCOMPILE= ${PREFIX}/lib/${PYTHON_VERSION}/compileall.py AWKREVDATE= '/Last Changed Date/ {print "\"s|unknown date|" $$4 "|\""}' GPSVER= GPS_VERSION=${PORTVERSION} ALL_TARGET= default NO_MTREE= yes SUB_FILES= gps PORTGDB= ${GDBVER:S/.//g} # note: librsvg2 is needed to display the svg icons in the menu. Actually # needed is lib/gdk-pixbuf-2.0/%%GTK2_VER%%/loaders/libpixbufloader-svg.so , # but it's a variable library needed only at runtime, which is obnoxious so # we just request the sole binary to pull in the package which effectively # accomplishes what is desired. OPTIONS_DEFINE= DEBUG DOCS EXAMPLES OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-aux-${OPSYS:tl}${OSREL} CONFIGURE_ENV+= AWK=/usr/bin/awk CONFIGURE_ARGS= --with-gtk=3.0 MAKE_ARGS+= PROCESSORS=${MAKE_JOBS_NUMBER} MAKE_ARGS+= PYTHON_CMD=${PYTHON_CMD} PORTDOCS= html pdf PORTEXAMPLES= demo python remote tutorial xml .include SUB_LIST= ADA_PATH=${PREFIX}/${ADAXX}-aux/bin GDBVER!= ${GREP} ^PORTVERSION ${.CURDIR}/../gdb/Makefile | \ ${AWK} '{print $$2}' .if ${PORT_OPTIONS:MDEBUG} MAKE_ARGS+= Build=Debug .else MAKE_ARGS+= Build=Production .endif post-extract: @${MV} ${WRKSRC}/templates_parser ${WRKSRC}/TP.ignore @${MV} ${WRKSRC}/Makefile.gnat ${WRKSRC}/Makefile.gnat.ignore @${FIND} ${WRKSRC}/share -name "*.pyc" -delete ${RM} ${WRKSRC}/share/support/core/cross_references.py post-patch: @${ECHO} "GNAT_SOURCES=" > ${WRKSRC}/Makefile.gnat @${REINPLACE_CMD} -e 's/^with .*templates_parser\//with "/g' \ ${WRKSRC}/gnatdoc/gnatdoc.gpr \ ${WRKSRC}/vcs/vcs.gpr @${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \ ${WRKSRC}/widgets/widgets.gpr #@${REINPLACE_CMD} -e 's|gnatlib/gnat_src|distrib|' \ # ${WRKSRC}/distrib/from_impunit.pl @${REINPLACE_CMD} -e 's|, "-fdump-xref"||g' \ ${WRKSRC}/shared.gpr #@${REINPLACE_CMD} -e "s|GPS_VERSION=.*|${GPSVER}|" \ # ${WRKSRC}/configure #@${AWK} ${AWKREVDATE} ${WRKSRC}/REVISION | ${XARGS} -I sub \ # ${SED} -i.bak -e sub ${WRKSRC}/common/core/src/config.ads.in @${SED} -i '' -e \ 's|= "gnat"|= "${LOCALBASE}/${ADAXX}-aux/bin/gnat"|' \ ${WRKSRC}/share/support/core/gps_utils/gnat_rules.py #@${REINPLACE_CMD} -e 's|@UTILSHARE@|${LOCALBASE}/share/gnat_util|' \ # ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/gnatcoll_tools/d' ${WRKSRC}/gps/gps.gpr @${REINPLACE_CMD} -e 's|../gnatlib/src/||' \ ${WRKSRC}/common/comm* \ ${WRKSRC}/spark/spark.gpr \ ${WRKSRC}/kernel/kern*.gpr \ ${WRKSRC}/language/language.gpr \ ${WRKSRC}/vsearch/vsearch.gpr \ ${WRKSRC}/python/py*.gpr @${REINPLACE_CMD} -e '/Gdb_Command/ s|"gdb"|"gdb${PORTGDB}"|' \ ${WRKSRC}/gvd/src/debugger-gdb_mi.adb \ ${WRKSRC}/gvd/src/debugger-gdb.adb @${REINPLACE_CMD} -e 's|ISO-8859|ISO8859|' \ ${WRKSRC}/kernel/src/gps-kernel-charsets.adb \ ${WRKSRC}/share/support/core/os_utils.py \ ${WRKSRC}/configure* \ ${WRKSRC}/po/build_skeleton.pl @${REINPLACE_CMD} -e 's|iso-8859|ISO8859|' \ ${WRKSRC}/cli/src/gps-cli_scripts.adb \ ${WRKSRC}/cli/src/gnatdoc_main.adb do-build: @${CP} ${PREFIX}/include/gnat_util/impunit.* ${WRKSRC}/distrib cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} all ${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/plug-ins ${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/library ${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/support post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/gps/html/*/_sources ${INSTALL_SCRIPT} ${WRKDIR}/gps ${STAGEDIR}${PREFIX}/bin echo "This is the GPS GPL Edition for the ${OPSYS} Ports Collection." \ > ${STAGEDIR}${PREFIX}/share/gps/about.txt ${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete .include Index: head/textproc/templates_parser/Makefile =================================================================== --- head/textproc/templates_parser/Makefile (revision 416640) +++ head/textproc/templates_parser/Makefile (revision 416641) @@ -1,53 +1,57 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= templates_parser -PORTVERSION= 11.10.0.0 -PORTREVISION= 4 +PORTVERSION= 17.0.0 CATEGORIES= textproc -MASTER_SITES= http://downloads.dragonlace.net/src/ MAINTAINER= marino@FreeBSD.org COMMENT= Web page template engine module for the Ada Web Server LICENSE= GPLv3 BUILD_DEPENDS= gprbuild:devel/gprbuild \ xmlada>=4.4:textproc/xmlada RUN_DEPENDS= xmlada>=4.4:textproc/xmlada -USES= ada gmake tar:bzip2 +USES= ada:run gmake tar:bzip2 +USE_GITHUB= yes +GH_ACCOUNT= AdaCore +GH_PROJECT= templates-parser +GH_TAGNAME= 1d62939 + DESTINC= ${STAGEDIR}${PREFIX}/include/templates_parser PLIST_SUB= LIBVER=${PORTVERSION:R} MAKE_ARGS+= PROCESSORS=${MAKE_JOBS_NUMBER} \ ENABLE_SHARED=true \ HOST=${CONFIGURE_TARGET} \ TARGET=${CONFIGURE_TARGET} \ VERSION=${PORTVERSION:R} \ prefix=${PREFIX} PORTDOCS= html OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx do-build: # Override build target to avoid -jX getting passed to makefile # Parallel builds are handled with PROCESSORS setting cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} build do-build-DOCS-on: cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} html post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/share/gpr/manifests ${MV} ${DESTINC}.relocatable/templates_parser-conf*.ads \ ${DESTINC}.relocatable/templates_parser-configuration.ads ${MV} ${DESTINC}/templates_parser-conf*.ads \ ${DESTINC}/templates_parser-configuration.ads ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat ${INSTALL_DATA} ${FILESDIR}/templates_parser.gpr \ ${STAGEDIR}${PREFIX}/lib/gnat + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/templates* .include Index: head/textproc/templates_parser/distinfo =================================================================== --- head/textproc/templates_parser/distinfo (revision 416640) +++ head/textproc/templates_parser/distinfo (revision 416641) @@ -1,2 +1,3 @@ -SHA256 (templates_parser-11.10.0.0.tar.bz2) = bd1a332cbc9284488dadc13600d7735fbcea462a9d0df2b6cf796ef95e3d184e -SIZE (templates_parser-11.10.0.0.tar.bz2) = 168905 +TIMESTAMP = 1465511680 +SHA256 (AdaCore-templates-parser-17.0.0-1d62939_GH0.tar.gz) = fd90fd9a0ac879ab62040abaa1e7cbcbf9261150c081d9ae678e5e31da515f51 +SIZE (AdaCore-templates-parser-17.0.0-1d62939_GH0.tar.gz) = 216712 Index: head/textproc/templates_parser/files/patch-Makefile =================================================================== --- head/textproc/templates_parser/files/patch-Makefile (revision 416640) +++ head/textproc/templates_parser/files/patch-Makefile (nonexistent) @@ -1,13 +0,0 @@ ---- Makefile.orig 2015-06-21 07:30:14 UTC -+++ Makefile -@@ -112,8 +112,8 @@ GPROPTS += -XPRJ_BUILD=$(PRJ_BUILD) -XTP - - GPR_DEFAULT = -XLIBRARY_TYPE=$(DEFAULT_LIBRARY_TYPE) \ - -XXMLADA_BUILD=$(DEFAULT_LIBRARY_TYPE) --GPR_OTHER = -XLIBRARY_TYPE=$(DEFAULT_LIBRARY_TYPE) \ -- -XXMLADA_BUILD=$(DEFAULT_LIBRARY_TYPE) -+GPR_OTHER = -XLIBRARY_TYPE=$(OTHER_LIBRARY_TYPE) \ -+ -XXMLADA_BUILD=$(OTHER_LIBRARY_TYPE) - - ####################################################################### - # build Property changes on: head/textproc/templates_parser/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/templates_parser/pkg-plist =================================================================== --- head/textproc/templates_parser/pkg-plist (revision 416640) +++ head/textproc/templates_parser/pkg-plist (revision 416641) @@ -1,64 +1,71 @@ bin/templates2ada bin/templatespp include/templates_parser.relocatable/templates_parser-cached_files.adb include/templates_parser.relocatable/templates_parser-configuration.ads include/templates_parser.relocatable/templates_parser-data.adb +include/templates_parser.relocatable/templates_parser-debug.adb include/templates_parser.relocatable/templates_parser-debug.ads include/templates_parser.relocatable/templates_parser-definitions.adb include/templates_parser.relocatable/templates_parser-expr.adb include/templates_parser.relocatable/templates_parser-filter.adb include/templates_parser.relocatable/templates_parser-input.ads include/templates_parser.relocatable/templates_parser-input__standalone.adb include/templates_parser.relocatable/templates_parser-macro.adb include/templates_parser.relocatable/templates_parser-print_tree.adb +include/templates_parser.relocatable/templates_parser-query.adb include/templates_parser.relocatable/templates_parser-query.ads include/templates_parser.relocatable/templates_parser-simplifier.adb include/templates_parser.relocatable/templates_parser-utils.adb include/templates_parser.relocatable/templates_parser-utils.ads +include/templates_parser.relocatable/templates_parser-xml.adb include/templates_parser.relocatable/templates_parser-xml.ads include/templates_parser.relocatable/templates_parser.adb include/templates_parser.relocatable/templates_parser.ads include/templates_parser.relocatable/templates_parser_tasking.ads include/templates_parser.relocatable/templates_parser_tasking__standard_tasking.adb include/templates_parser/templates_parser-cached_files.adb include/templates_parser/templates_parser-configuration.ads include/templates_parser/templates_parser-data.adb +include/templates_parser/templates_parser-debug.adb include/templates_parser/templates_parser-debug.ads include/templates_parser/templates_parser-definitions.adb include/templates_parser/templates_parser-expr.adb include/templates_parser/templates_parser-filter.adb include/templates_parser/templates_parser-input.ads include/templates_parser/templates_parser-input__standalone.adb include/templates_parser/templates_parser-macro.adb include/templates_parser/templates_parser-print_tree.adb +include/templates_parser/templates_parser-query.adb include/templates_parser/templates_parser-query.ads include/templates_parser/templates_parser-simplifier.adb include/templates_parser/templates_parser-utils.adb include/templates_parser/templates_parser-utils.ads +include/templates_parser/templates_parser-xml.adb include/templates_parser/templates_parser-xml.ads include/templates_parser/templates_parser.adb include/templates_parser/templates_parser.ads include/templates_parser/templates_parser_tasking.ads include/templates_parser/templates_parser_tasking__standard_tasking.adb lib/gnat/templates_parser.gpr +lib/libtemplates_parser-%%LIBVER%%.so lib/libtemplates_parser.so lib/templates_parser.relocatable/libtemplates_parser-%%LIBVER%%.so lib/templates_parser.relocatable/libtemplates_parser.so lib/templates_parser.relocatable/templates_parser-configuration__standalone.ali lib/templates_parser.relocatable/templates_parser-debug.ali lib/templates_parser.relocatable/templates_parser-input__standalone.ali lib/templates_parser.relocatable/templates_parser-query.ali lib/templates_parser.relocatable/templates_parser-utils.ali lib/templates_parser.relocatable/templates_parser-xml.ali lib/templates_parser.relocatable/templates_parser.ali lib/templates_parser.relocatable/templates_parser_tasking__standard_tasking.ali lib/templates_parser/libtemplates_parser.a lib/templates_parser/templates_parser-configuration__standalone.ali lib/templates_parser/templates_parser-debug.ali lib/templates_parser/templates_parser-input__standalone.ali lib/templates_parser/templates_parser-query.ali lib/templates_parser/templates_parser-utils.ali lib/templates_parser/templates_parser-xml.ali lib/templates_parser/templates_parser.ali lib/templates_parser/templates_parser_tasking__standard_tasking.ali share/gpr/templates_parser.gpr Index: head/www/aws/Makefile =================================================================== --- head/www/aws/Makefile (revision 416640) +++ head/www/aws/Makefile (revision 416641) @@ -1,185 +1,185 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= aws PORTVERSION= 3.3.0.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= http://downloads.dragonlace.net/src/ MAINTAINER= marino@FreeBSD.org COMMENT= Adacore Ada Web Server and framework LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi BUILD_DEPENDS= gprbuild:devel/gprbuild \ templates_parser>11:textproc/templates_parser \ xmlada>=4.4:textproc/xmlada \ asis>=2013:lang/asis \ gnatpython>=20101207:devel/gnatpython RUN_DEPENDS= templates_parser>11:textproc/templates_parser \ xmlada>=4.4:textproc/xmlada GNU_CONFIGURE= yes NO_MTREE= yes USES= ada gmake python tar:bzip2 DOTBUILD= release LINK_SSL= -- LINK_TLS= -- LINK_LDP= -- NAME_IP6= -- NAME_STD= -- BUILD_TYPE= release ADDL_RPATH= ${LOCALBASE}/lib:${LOCALBASE}/lib/aws/native/relocatable AUX_TARGET= ${ARCH:S/amd64/x86_64/}-aux-${OPSYS:tl}${OSREL} TEMPARSE= ${WRKSRC}/.build/${AUX_TARGET}/${BUILD_TYPE} OPTIONS_SINGLE= Secure-Socket-Layer OPTIONS_DEFINE= IP6 DEBUG LDAP SHARED DOCS OPTIONS_DEFAULT= SSL SHARED OPTIONS_SUB= yes NO_OPTIONS_SORT= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx OPTIONS_SINGLE_Secure-Socket-Layer= SSL GNUTLS NOSSL NOSSL_DESC= Disable SSL support SHARED_DESC= Build shared libraries in addition to static ones IP6_DESC= Support IPv6 instead of IPv4 CONF_ARGS= PROCESSORS=${MAKE_JOBS_NUMBER} CONF_ARGS+= GCC=ada CONF_ARGS+= PYTHON=python${PYTHON_VER} CONF_ARGS+= XMLADA=true CONF_ARGS+= PRJ_BUILD=${DOTBUILD} CONF_ARGS+= prefix=${PREFIX} CONF_ARGS+= LPATH=${PREFIX}/lib CONF_ARGS+= ZPATH=/usr/lib CONF_ARGS+= ZLIB=true CONF_ARGS+= ASIS=true CONF_ARGS+= DEFAULT_LIBRARY_TYPE=static .include ################### ## SSL Support ## ################### .if ${PORT_OPTIONS:MSSL} WITH_OPENSSL_PORT= yes USE_OPENSSL= yes CONF_ARGS+= SOCKET=openssl CONF_ARGS+= LPATH=${PREFIX}/lib LINK_SSL= .endif .if ${PORT_OPTIONS:MGNUTLS} CONF_ARGS+= SOCKET=gnutls LIB_DEPENDS+= libgnutls.so:security/gnutls LINK_TLS= .endif .if ${PORT_OPTIONS:MNOSSL} CONF_ARGS+= SOCKET=std CONF_ARGS+= LPATH= NAME_STD= .endif #################### ## LDAP Support ## #################### .if ${PORT_OPTIONS:MLDAP} USE_OPENLDAP= yes CONF_ARGS+= LDAP=true LINK_LDP= .endif #################### ## IPv6 Support ## #################### .if ${PORT_OPTIONS:MIP6} CONF_ARGS+= IPv6=true NAME_IP4= -- NAME_IP6= .endif ##################### ## Debug Support ## ##################### .if ${PORT_OPTIONS:MDEBUG} CONF_ARGS+= DEBUG=true BUILD_TYPE= debug .endif ############################## ## Shared Runtime Library ## ############################## .if ${PORT_OPTIONS:MSHARED} CONF_ARGS+= ENABLE_SHARED=true .else CONF_ARGS+= ENABLE_SHARED=false .endif post-patch: @${MKDIR} ${WRKSRC}/templates_parser \ ${TEMPARSE}/static/obj/temparse \ ${TEMPARSE}/static/lib/temparse \ ${TEMPARSE}/relocatable/obj/temparse \ ${TEMPARSE}/relocatable/lib/temparse \ ${WRKSRC}/templates_parser/tools \ ${WRKSRC}/templates_parser/xsrc \ ${WRKSRC}/templates_parser/src @${REINPLACE_CMD} \ -e 's|@ADDITIONAL_RPATH@|${ADDL_RPATH}|' \ -e 's|@PREFIX@|${LOCALBASE}|g' \ ${WRKSRC}/aws.gpr \ ${WRKSRC}/src/src.gpr \ ${WRKSRC}/include/include.gpr @${SED} -e 's|@PREFIX@|${LOCALBASE}|g' ${FILESDIR}/temparse.gpr.in \ > ${WRKSRC}/templates_parser/temparse.gpr do-configure: # If we want to do templates_parser copy in an earlier target then # templates_parser needs to be listed as an EXTRACT_DEPENDS @${CP} ${LOCALBASE}/lib/templates_parser/* \ ${TEMPARSE}/static/lib/temparse @${CP} ${LOCALBASE}/lib/templates_parser.relocatable/*.ali \ ${TEMPARSE}/relocatable/lib/temparse @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${MAKE_CMD} setup ${CONF_ARGS} do-build: # We cannot use a redefined ALL_TARGET because MAKE_JOBS_SAFE is set # for PROCESSORS, but that also sets -j for gmake which breaks build cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} build .if ${PORT_OPTIONS:MDOCS} cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} html .endif test: .if exists(${LOCALBASE}/bin/awsres) @cd ${WRKSRC}/regtests && ${SETENV} ${MAKE_ENV} TIMEOUT=75 \ python${PYTHON_VER} testsuite.py .else @${ECHO} "AWS has to be installed before testing" .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/gpr/manifests ${RM} ${STAGEDIR}${PREFIX}/include/aws.relocatable/Makefile ${RM} ${STAGEDIR}${PREFIX}/include/aws/Makefile ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \ ${STAGEDIR}${PREFIX}/share/gps/plug-ins ${CAT} ${FILESDIR}/aws.gpr.in | ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ -e 's|@SSL@|${LINK_SSL}|g' -e 's|@TLS@|${LINK_TLS}|g' \ -e 's|@LDP@|${LINK_LDP}|g' -e 's|@IP4@|${NAME_IP4}|g' \ -e 's|@IP6@|${NAME_IP6}|g' -e 's|@STD@|${NAME_STD}|g' \ > ${STAGEDIR}${PREFIX}/lib/gnat/aws.gpr cd ${WRKSRC}/gps && ${INSTALL_DATA} *.xml aws.py \ ${STAGEDIR}${PREFIX}/share/gps/plug-ins .include Index: head/www/aws-demos/Makefile =================================================================== --- head/www/aws-demos/Makefile (revision 416640) +++ head/www/aws-demos/Makefile (revision 416641) @@ -1,110 +1,110 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= aws PORTVERSION= 3.3.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://downloads.dragonlace.net/src/ PKGNAMESUFFIX= -demos MAINTAINER= marino@FreeBSD.org COMMENT= Adacore Ada Web Server demos LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi BUILD_DEPENDS= gprbuild:devel/gprbuild \ xmlada>=4.4:textproc/xmlada \ aws>=3.1:www/aws USES= ada gmake tar:bzip2 DISTINFO_FILE= ${PORTSDIR}/www/aws/distinfo CONF_ARGS= PROCESSORS=1 CONF_ARGS+= GCC=ada CONF_ARGS+= prefix=${PREFIX} OPTIONS_DEFINE= SSL LDAP OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes DEMO_DIRS+= auth DEMO_DIRS+= autobahn DEMO_DIRS+= cert DEMO_DIRS+= com DEMO_DIRS+= dispatch DEMO_DIRS+= dowload_manager DEMO_DIRS+= hello_world DEMO_DIRS+= hello_wsdl DEMO_DIRS+= hotplug DEMO_DIRS+= interoplab DEMO_DIRS+= jabber_demo DEMO_DIRS+= multiple_sessions DEMO_DIRS+= res_demo DEMO_DIRS+= soap_demo DEMO_DIRS+= soap_disp DEMO_DIRS+= soap_vs DEMO_DIRS+= split DEMO_DIRS+= test_mail DEMO_DIRS+= text_input DEMO_DIRS+= upload DEMO_DIRS+= vh_demo DEMO_DIRS+= web_block DEMO_DIRS+= web_block_ajax DEMO_DIRS+= web_block_ajax_templates DEMO_DIRS+= web_elements DEMO_DIRS+= web_mail DEMO_DIRS+= websockets DEMO_DIRS+= wps DEMO_DIRS+= ws DEMO_DIRS+= ws_candy DEMO_DIRS+= zdemo .include .if ${PORT_OPTIONS:MSSL} CONF_ARGS+= SOCKET=openssl DEMO_DIRS+= agent DEMO_DIRS+= runme .endif .if ${PORT_OPTIONS:MLDAP} CONF_ARGS+= LDAP=true DEMO_DIRS+= test_ldap .endif post-patch: @${REINPLACE_CMD} -e 's|@PREFIX@|${LOCALBASE}|g' \ ${WRKSRC}/demos/test_ldap/test_ldap.gpr @${REINPLACE_CMD} -e 's| setup_tp | |' ${WRKSRC}/Makefile do-configure: ${MKDIR} ${WRKSRC}/.build/native/debug/static/obj cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${MAKE_CMD} setup ${CONF_ARGS} do-build: .for dd in ${DEMO_DIRS} @${ECHO_MSG} "=== BUILD ${dd} ===" cd ${WRKSRC}/demos/${dd} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} .endfor do-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/templates \ ${STAGEDIR}${EXAMPLESDIR}/images .for dd in ${DEMO_DIRS} ${FIND} ${WRKSRC}/demos/${dd} -type f -perm -0001 \ -exec ${INSTALL} {} ${STAGEDIR}${EXAMPLESDIR}/ \; .endfor cd ${WRKSRC} && \ ${COPYTREE_SHARE} web_elements ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/demos/runme/aws_*.png \ ${STAGEDIR}${EXAMPLESDIR}/images ${INSTALL_DATA} ${WRKSRC}/demos/web_mail/*html \ ${STAGEDIR}${EXAMPLESDIR}/templates ${INSTALL_DATA} ${FILESDIR}/templates.tads \ ${STAGEDIR}${EXAMPLESDIR}/templates .include