2012-09-22 23:15:50 +02:00
# Created by: Fumiyuki Shimizu <fumifumi@abacustech.jp>
2011-02-14 05:08:07 +01:00
# $FreeBSD$
PORTNAME = mod_gnutls
2011-08-19 03:40:52 +02:00
PORTVERSION = 0.5.10
2013-02-05 17:17:06 +01:00
PORTREVISION = 2
2011-02-14 05:08:07 +01:00
CATEGORIES = www security
2011-08-19 03:40:52 +02:00
MASTER_SITES = http://modgnutls.sourceforge.net/downloads/ \
http://www.outoforder.cc/downloads/mod_gnutls/
2011-02-14 05:08:07 +01:00
PKGNAMEPREFIX = ${ APACHE_PKGNAMEPREFIX }
MAINTAINER = fumifumi@abacustech.jp
COMMENT = mod_gnutls uses the GnuTLS library to provide SSL, and TLS encryption for Apache HTTPD
2012-01-09 16:41:08 +01:00
LICENSE = AL2
2011-08-19 03:40:52 +02:00
LICENSE_FILE = ${ WRKSRC } /LICENSE
2013-02-05 17:17:06 +01:00
LIB_DEPENDS = gnutls.26:${ PORTSDIR } /security/gnutls
2011-02-14 05:08:07 +01:00
USE_BZIP2 = yes
USE_AUTOTOOLS = libtool
2013-04-23 16:20:25 +02:00
USES = pkgconfig
2012-09-22 23:15:50 +02:00
USE_APACHE = 22
2011-02-14 05:08:07 +01:00
GNU_CONFIGURE = yes
2011-08-19 03:40:52 +02:00
DOCS = LICENSE NEWS README README.ENV
2011-02-14 05:08:07 +01:00
. i n c l u d e < b s d . p o r t . p r e . m k >
DBDIR = ${ PREFIX } /var/db/${ PORTNAME }
SUB_FILES = pkg-message
PLIST_SUB += DBDIR = ${ DBDIR }
CONFIGURE_ARGS = --with-apxs= ${ APXS }
# mod_gnutls does not conflict with mod_ssl.
#pre-install:
# @if test -e '${LOCALBASE}/${APACHEMODDIR}/mod_ssl.so'; then for opt in -a -A -A; do '${APXS}' -e "$${opt}" -n ssl '${LOCALBASE}/${APACHEMODDIR}/mod_ssl.so' >/dev/null 2>&1; done; else true; fi
post-install :
. i f ! d e f i n e d ( N O P O R T D O C S )
@${ MKDIR } '${DOCSDIR}'
@cd '${WRKSRC}' && ${ INSTALL_DATA } ${ DOCS } '${DOCSDIR}'
. e n d i f
@if test -d '${DBDIR}' ; then true; else ${ MKDIR } '${DBDIR}' ; fi
@${ CHOWN } '${WWWOWN}:${WWWGRP}' '${DBDIR}'
@${ CHMOD } 'u=rwx,g=rx,o=' '${DBDIR}'
@${ CAT } '${PKGMESSAGE}'
. i n c l u d e < b s d . p o r t . p o s t . m k >