aboutsummaryrefslogtreecommitdiff
path: root/www/mod_scgi
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-08-28 15:49:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-08-28 15:49:53 +0000
commit06c7c500765ff1d8a23042042502f2e6d684f073 (patch)
treeefe82b92c88e4730757799d5089f7c8b315ebddd /www/mod_scgi
parent481dec2f6095dd5fcc36ca1e98693626d88c49c5 (diff)
downloadports-06c7c500765ff1d8a23042042502f2e6d684f073.tar.gz
ports-06c7c500765ff1d8a23042042502f2e6d684f073.zip
Notes
Diffstat (limited to 'www/mod_scgi')
-rw-r--r--www/mod_scgi/Makefile14
-rw-r--r--www/mod_scgi/distinfo6
-rw-r--r--www/mod_scgi/pkg-plist2
3 files changed, 9 insertions, 13 deletions
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 <bsd.port.pre.mk>
-.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