1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/mod_gnutls/Makefile
Olli Hauer 4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00

53 lines
1.4 KiB
Makefile

# Created by: Fumiyuki Shimizu <fumifumi@abacustech.jp>
# $FreeBSD$
PORTNAME= mod_gnutls
PORTVERSION= 0.5.10
PORTREVISION= 2
CATEGORIES= www security
MASTER_SITES= http://modgnutls.sourceforge.net/downloads/ \
http://www.outoforder.cc/downloads/mod_gnutls/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= fumifumi@abacustech.jp
COMMENT= mod_gnutls uses the GnuTLS library to provide SSL, and TLS encryption for Apache HTTPD
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= gnutls.26:${PORTSDIR}/security/gnutls
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USES= pkgconfig
USE_APACHE= 22
GNU_CONFIGURE= yes
DOCS= LICENSE NEWS README README.ENV
NO_STAGE= yes
.include <bsd.port.pre.mk>
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:
.if !defined(NOPORTDOCS)
@${MKDIR} '${DOCSDIR}'
@cd '${WRKSRC}' && ${INSTALL_DATA} ${DOCS} '${DOCSDIR}'
.endif
@if test -d '${DBDIR}'; then true; else ${MKDIR} '${DBDIR}'; fi
@${CHOWN} '${WWWOWN}:${WWWGRP}' '${DBDIR}'
@${CHMOD} 'u=rwx,g=rx,o=' '${DBDIR}'
@${CAT} '${PKGMESSAGE}'
.include <bsd.port.post.mk>