# New ports collection makefile for: aws # Date created: 12 December 2010 # Whom: John Marino # # $FreeBSD$ # PORTNAME= aws PORTVERSION= 2.10.0 CATEGORIES= www MASTER_SITES= http://downloads.dragonlace.net/src/ \ http://dragonlace.mirrors.ada.cx/src/ MAINTAINER= draco@marino.st COMMENT= Adacore Ada Web Server and framework BUILD_DEPENDS= gnat-aux>=20101204:${PORTSDIR}/lang/gnat-aux \ gprbuild-aux>=20101120:${PORTSDIR}/devel/gprbuild-aux \ xmlada>=3.2:${PORTSDIR}/textproc/xmlada \ gnatpython>=20101207:${PORTSDIR}/devel/gnatpython USE_PYTHON= yes USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes USE_LDCONFIG= yes CC= gnatgcc DOTBUILD= release MAKE_ENV+= ADA_PROJECT_PATH=${PREFIX}/lib/gnat OPTIONS= SSL "Enable HTTPS/SSL support" on OPTIONS+= IPV6 "Enable IPv6 support" off OPTIONS+= DEMOS "Build demo programs in examples/aws/demos" off OPTIONS+= DEBUG "Build AWS with debugging symbols" off OPTIONS+= LDAP "Enable LDAP support" off OPTIONS+= DSRT "Disable shared runtime" off OPTIONS+= RELOC "Build shared libraries (default is static)" off CONF_ARGS= PROCESSORS=1 CONF_ARGS+= GCC=gnatgcc CONF_ARGS+= PYTHON=python${PYTHON_VER} .include ################### ## SSL Support ## ################### .if defined(WITH_SSL) CONF_ARGS+= SOCKET=openssl BUILD_DEPENDS+= openssl>=1:${PORTSDIR}/security/openssl RUN_DEPENDS+= openssl>=1:${PORTSDIR}/security/openssl PLIST_SUB+= YSSL="" PLIST_SUB+= NSSL="@comment " .else PLIST_SUB+= YSSL="@comment " PLIST_SUB+= NSSL="" .endif #################### ## LDAP Support ## #################### .if defined(WITH_LDAP) CONF_ARGS+= LDAP=true RUN_DEPENDS+= openldap24>=2.4:${PORTSDIR}/net/openldap24-client .endif #################### ## IPv6 Support ## #################### .if defined(WITH_IPV6) CONF_ARGS+= IPv6=true .endif ##################### ## Debug Support ## ##################### .if defined(WITH_DEBUG) CONF_ARGS+= DEBUG=true .endif ############################## ## Shared Runtime Library ## ############################## .if defined(WITH_DSRT) CONF_ARGS+= ENABLE_SHARED=false .endif ############################ ## Default Library Type ## ############################ .if defined(WITH_RELOC) CONF_ARGS+= DEFAULT_LIBRARY_TYPE=relocatable .endif ##################### ## DEMOS Support ## ##################### .if defined(WITH_DEMOS) DEMO_DIRS+= agent DEMO_DIRS+= auth DEMO_DIRS+= com DEMO_DIRS+= dispatch 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+= runme 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+= 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+= wps DEMO_DIRS+= ws DEMO_DIRS+= zdemo .if defined (WITH_LDAP) DEMO_DIRS+= test_ldap PLIST_SUB+= LDAP="" .else PLIST_SUB+= LDAP="@comment " .endif PLIST_SUB+= DEMO="" .else PLIST_SUB+= DEMO="@comment " PLIST_SUB+= LDAP="@comment " .endif do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${GMAKE} setup ${CONF_ARGS} do-build: # docs are built, but the .pdf format is intentionally disabled # The taTeX dependency brings in ~100MB so it's not worth it. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} build build_doc test: install cd ${WRKSRC}/regtests && python${PYTHON_VER} testsuite.py do-install: cd ${WRKSRC} && ${GMAKE} install .if defined(WITH_DEMOS) ${MAKE} demos ${MAKE} demos-install .endif demos: .for dd in ${DEMO_DIRS} cd ${WRKSRC}/demos/${dd} && ${GMAKE} .endfor demos-install: ${MKDIR} ${PREFIX}/share/examples/aws/demos .for dd in ${DEMO_DIRS} ${FIND} ${WRKSRC}/demos/${dd} -type f -perm -0001 \ -exec ${INSTALL} {} ${PREFIX}/share/examples/aws/demos/ \; .endfor .include de-fetch-2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Convert all :U to :tu and :L to :tlbapt2014-05-051-13/+13
* Fix properties on pkg-plistbapt2014-01-221-1/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Add a workaround to unbreak the build.hrs2013-06-101-0/+1
* Use an old version of IPA fonts as Ryumin-Light and GothicBBB-Medium forhrs2013-05-012-3/+3
* Resurrect print/ghostscript7*. Ghostscript 7.x is incompatible with 8.xhrs2013-04-308-0/+1228
* ghostscript7 is very very outdated consider using newer version like print/gh...bapt2013-03-268-1228/+0
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* japanese/font-std, chinese/font-std, and dependency fixups duehrs2009-05-312-7/+7
* Add accidentally-removed PORTREVISION in the previous commit.hrs2008-06-011-0/+1
* The following repocopies have been done for print/ghostscript-*hrs2008-06-012-9/+7
* Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gplrafan2007-09-241-3/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Re-add a RUN_DEPENDS line accidentally removed in the previous commit.hrs2007-05-011-0/+1
* Fix dependency; CMap files needed for the build now.hrs2007-05-011-1/+1
* Cleanup ghostscript-gnu-commfont and related CJK font support meta ports.hrs2007-04-2812-334/+1220
* Fix pkg-plist broken due to adobe-cmaps-20051217_1 update.hrs2006-05-282-1/+13
* - Update pkg-plist due to print/adobe-cmaps change.hrs2006-02-273-1/+7