[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / cherokee

File: [cvs.NetBSD.org] / pkgsrc / www / cherokee / options.mk (download)

Revision 1.1, Sun Jul 11 12:18:55 2010 UTC (4 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, HEAD

Update cherokee to 1.0.5.
Based on PR#43557 by Wen Heping.

Bump to 1.x release.

# $NetBSD: options.mk,v 1.1 2010/07/11 12:18:55 obache Exp $
#

PKG_OPTIONS_VAR=		PKG_OPTIONS.cherokee
PKG_SUPPORTED_OPTIONS+=		geoip ffmpeg inet6 ldap mysql pam ssl threads
PKG_SUGGESTED_OPTIONS+=		inet6 pam ssl threads

.include "../../mk/bsd.options.mk"

PLIST_VARS+=	geoip ldap mysql pam ssl

###
### Threading support.
###
.if !empty(PKG_OPTIONS:Mthreads)
.include "../../mk/pthread.buildlink3.mk"
CONFIGURE_ARGS+=	--enable-pthread
.else
CONFIGURE_ARGS+=	--disable-pthread
.endif


###
### IPv6 support.
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

###
### SSL support.
###
.if !empty(PKG_OPTIONS:Mssl)
PLIST.ssl=		yes
CONFIGURE_ARGS+=	--with-libssl=${SSLBASE}
.include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-libssl
.endif

###
### Allow using LDAP for "basic" authentication.
###
.if !empty(PKG_OPTIONS:Mldap)
.include "../../databases/openldap-client/buildlink3.mk"
PLIST.ldap=		yes
CONFIGURE_ARGS+=	--with-ldap=${BUILDLINK_PREFIX.openldap-client}
.else
CONFIGURE_ARGS+=	--without-ldap
.endif

###
### Allow using MySQL for virtual host configuration.
###
.if !empty(PKG_OPTIONS:Mmysql)
.include "../../mk/mysql.buildlink3.mk"
PLIST.mysql=		yes
CONFIGURE_ARGS+=	--with-mysql=${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
.else
CONFIGURE_ARGS+=	--without-mysql
.endif

###
### GeoIP support
###
.if !empty(PKG_OPTIONS:Mgeoip)
PLIST.geoip=		yes
CONFIGURE_ARGS+=	--with-geoip=${BUILDLINK_PREFIX.GeoIP}
.include "../../net/GeoIP/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-geoip
.endif

###
### FFMpeg support
###
.if !empty(PKG_OPTIONS:Mffmpeg)
PLIST.ffmpeg=		yes
CONFIGURE_ARGS+=	--with-ffmpeg=${BUILDLINK_PREFIX.ffmpeg}
.include "../../multimedia/ffmpeg/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-ffmpeg
.endif

###
### PAM support
###
.if !empty(PKG_OPTIONS:Mpam)
PLIST.pam=		yes
.include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+=	--enable-pam
.else
CONFIGURE_ARGS+=	--disable-pam
.endif