From 8575357ce0979c93181792e08e5cb301b79b7e0c Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 28 Aug 2006 15:49:53 +0000 Subject: - Update to 1.11 - Update USE_APACHE usage PR: ports/102418 Submitted by: Dryice Liu (maintainer) --- www/mod_scgi/Makefile | 14 +++++--------- www/mod_scgi/distinfo | 6 +++--- www/mod_scgi/pkg-plist | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) (limited to 'www/mod_scgi') diff --git a/www/mod_scgi/Makefile b/www/mod_scgi/Makefile index 445a4ae864cd..997811728cac 100644 --- a/www/mod_scgi/Makefile +++ b/www/mod_scgi/Makefile @@ -6,9 +6,9 @@ # PORTNAME= scgi -PORTVERSION= 1.10 +PORTVERSION= 1.11 CATEGORIES= www -MASTER_SITES= http://www.mems-exchange.org/software/files/scgi/ \ +MASTER_SITES= http://quixote.python.ca/releases/ \ http://dryice.name/computer/FreeBSD/distfiles/ PKGNAMEPREFIX= mod_ DISTNAME= scgi-${PORTVERSION:S/.a/a/} @@ -16,21 +16,17 @@ DISTNAME= scgi-${PORTVERSION:S/.a/a/} MAINTAINER= dryice@dryice.name COMMENT= Apache module that implements the client side of the SCGI protocol -USE_APACHE= yes +USE_APACHE= 1.3+ WRKSRC= ${WRKDIR}/${DISTNAME}/${SCGI_DIR} .include -.if exists(${LOCALBASE}/include/apache2/apr.h) -WITH_APACHE2= yes -.endif -.if defined(WITH_APACHE2) +.if ${APACHE_VERSION} >= 20 SCGI_DIR= apache2 -PLIST_SUB= APACHE_DIR=apache2 .else SCGI_DIR= apache1 -PLIST_SUB= APACHE_DIR=apache .endif +PLIST_SUB= APACHE_DIR=${APACHEMODDIR} do-build: cd ${WRKSRC} && ${APXS} -c mod_scgi.c diff --git a/www/mod_scgi/distinfo b/www/mod_scgi/distinfo index 5244e9c7a9f6..439e8eae3c51 100644 --- a/www/mod_scgi/distinfo +++ b/www/mod_scgi/distinfo @@ -1,3 +1,3 @@ -MD5 (scgi-1.10.tar.gz) = 53530a15f4b7eb5dfc7b853b11781ee3 -SHA256 (scgi-1.10.tar.gz) = 3cad8c19ea988ecdc55fd873df1fe138a3662d9218bd9d2d17399e785dde9821 -SIZE (scgi-1.10.tar.gz) = 21179 +MD5 (scgi-1.11.tar.gz) = 45a2332e3582caf3c90605a34c4d0b8f +SHA256 (scgi-1.11.tar.gz) = b7b1da48c19d8eaf493eb4e91d112a0f7bd5e17c2bc0015c12530a52b3c07948 +SIZE (scgi-1.11.tar.gz) = 22567 diff --git a/www/mod_scgi/pkg-plist b/www/mod_scgi/pkg-plist index cae167901264..26da03d3d307 100644 --- a/www/mod_scgi/pkg-plist +++ b/www/mod_scgi/pkg-plist @@ -1,3 +1,3 @@ -libexec/%%APACHE_DIR%%/mod_scgi.so +%%APACHE_DIR%%/mod_scgi.so @exec %D/sbin/apxs -e -a -n scgi %f @unexec %D/sbin/apxs -e -A -n scgi %f -- cgit