# New ports collection makefile for: apache2 # Date created: 7 April 2001 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= apache PORTVERSION= 2.0.46 CATEGORIES= www ipv6 MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= httpd-${PORTVERSION} DISTFILES= ${DISTNAME}.tar.gz powerlogo.gif:freebsd EXTRACT_ONLY= ${DISTNAME}.tar.gz MAINTAINER?= perky@FreeBSD.org COMMENT?= Version 2 of the extremely popular Apache http server LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 LATEST_LINK= apache2 WITH_MPM?= prefork # or worker, perchild HTTP_PORT?= 80 HAS_CONFIGURE= yes USE_PERL5= yes USE_REINPLACE= yes CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --enable-layout=FreeBSD \ --with-perl=${PERL5} \ --enable-so \ --with-mpm=${WITH_MPM} \ --with-port=${HTTP_PORT} \ --with-expat=${LOCALBASE} \ --libdir=${PREFIX_RELDEST}/lib/apache2 \ --includedir=${PREFIX_RELDEST}/include/apache2 CONFIGURE_ENV= CC="${CC}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" CONFIG_SHELL="${SH}" SHARED_MODULES= all cgid deflate ext_filter proxy proxy-connect proxy-ftp \ proxy-http PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} RC_SUB= -e 's,@@PREFIX@@,${PREFIX_RELDEST},g' MAKE_ENV+= DESTDIR=${DESTDIR} EXPR_COMPAT=yes .if defined(NOPORTDOCS) MAKE_ENV+= NOPORTDOCS=yes .endif .if !defined(IPV6_V6ONLY) CONFIGURE_ARGS+= --enable-v4-mapped .endif .if !defined(WITHOUT_SSL) USE_OPENSSL= yes .endif .include .if defined(WITH_SUEXEC) SUEXEC_DOCROOT?= ${PREFIX_RELDEST}/www/data SUEXEC_USERDIR?= public_html SUEXEC_SAFEPATH?=${PREFIX_RELDEST}/bin:${LOCALBASE}/bin:/usr/bin:/bin CONFIGURE_ARGS+= --enable-suexec \ --with-suexec-caller=www \ --with-suexec-uidmin=1000 --with-suexec-gidmin=1000 \ --with-suexec-userdir="${SUEXEC_USERDIR}" \ --with-suexec-docroot="${SUEXEC_DOCROOT}" \ --with-suexec-safepath="${SUEXEC_SAFEPATH}" \ --with-suexec-logfile="/var/log/httpd-suexec.log" \ --with-suexec-bin="${PREFIX_RELDEST}/sbin/suexec" PLIST_SUB+= SUEXEC="" .else PLIST_SUB+= SUEXEC="@comment " .endif .if ${WITH_MPM} != "prefork" PKGNAMESUFFIX= -${WITH_MPM} WITH_THREADS= yes .if ${WITH_MPM} == "worker" PLIST_SUB+= PREFORK="@comment " WORKER="" .else PLIST_SUB+= PREFORK="@comment " WORKER="@comment " .endif .else PLIST_SUB+= PREFORK="" WORKER="@comment " .endif .if defined(WITH_THREADS) CONFIGURE_ARGS+= --enable-threads CFLAGS+= -DFREEBSD_THREAD_HACK SHARED_MODULES+= cache file-cache disk-cache mem_cache PLIST_SUB+= THREADS="" .else PLIST_SUB+= THREADS="@comment " .endif .if !defined(WITHOUT_SSL) SHARED_MODULES+= ssl CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} PLIST_SUB+= MODSSL="" RC_SUB+= -e 's,@@SSL@@,ssl,g' .else PLIST_SUB+= MODSSL="@comment " RC_SUB+= -e 's,@@SSL@@,,g' .endif .if defined(WITH_EXPERIMENTAL) SHARED_MODULES+= bucketeer case_filter case_filter_in ext_filter charset_lite \ optional_hook_export optional_hook_import \ optional_fn_import optional_fn_export PLIST_SUB+= EXPERIMENTAL="" .else PLIST_SUB+= EXPERIMENTAL="@comment " .endif CONFIGURE_ARGS+= --enable-mods-shared="${SHARED_MODULES}" ${CONFIGURE_TARGET} MAN1= dbmmanage.1 htdigest.1 htpasswd.1 MAN8= ab.8 apachectl.8 apxs.8 httpd.8 logresolve.8 rotatelogs.8 suexec.8 post-extract: @${INSTALL_DATA} ${DISTDIR}/powerlogo.gif ${WRKSRC}/docs/icons/freebsd.gif post-patch: @cd ${WRKSRC}/docs/docroot && \ for f in index.html.*; do (\ ${REINPLACE_CMD} -e 's,apache_pb,icons/freebsd.gif"\ ALT="[Powered by FreeBSD]"> lue='gnome-3.24'>gnome-3.24 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
221de8132240839d74da7810770168d6b0f4b'>Update to 0.3.13.
Commit message (Expand)AuthorAgeFilesLines
* deskutils/recoll: Update to 1.23.7yuri2018-02-131-3/+3
* deskutils/recoll: update 1.23.3 -> 1.23.4pi2017-11-181-3/+3
* deskutils/recoll: update 1.21.6 -> 1.23.3pi2017-11-011-2/+3
* Update to 1.21.6.mat2016-04-081-2/+2
* Update to 1.21.5.vanilla2016-02-121-2/+2
* - Update to 1.21.4miwi2016-01-151-2/+2
* - Update to 1.21.3madpilot2015-11-131-2/+2
* Update to 1.21.2.madpilot2015-10-241-2/+2
* Update to 1.21.1madpilot2015-09-261-2/+2
vsevolod2011-06-031-1/+1
* Update to 0.3.12.vsevolod2011-04-251-1/+1
* Update to 0.3.11.vsevolod2011-04-041-1/+1
* Update to 0.3.10.vsevolod2011-03-241-1/+1
* Update to 0.3.9.vsevolod2011-03-191-1/+1
* Update to version 0.3.8.vsevolod2011-03-151-3/+1
* Fix bug in distfile for rspamd, so update PORTREVISION.vsevolod2011-02-281-1/+2
* - Chase devel/google-perftools shlib bumpmiwi2011-02-271-1/+2
* Update rspamd to the next stable release 0.3.7.vsevolod2011-02-261-1/+1
* - Update to 0.3.6.vsevolod2011-02-081-3/+6