summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-08-06 09:32:23 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-08-06 09:32:23 +0000
commit698b7ccbf42e58d7cc67b2e89d92e33404ace130 (patch)
tree54dbc88df3551c2ff74408a387695492268c5c01 /www
parentFix running w/o INET6 (diff)
- upgrade to 1.2
- fix build on Apache13 PR: ports/69978 Submitted by: Dryice Liu (maintainer)
Notes
Notes: svn path=/head/; revision=115500
Diffstat (limited to 'www')
-rw-r--r--www/mod_scgi/Makefile14
-rw-r--r--www/mod_scgi/distinfo4
2 files changed, 10 insertions, 8 deletions
diff --git a/www/mod_scgi/Makefile b/www/mod_scgi/Makefile
index 2506dac8106d..8fa8adc215bc 100644
--- a/www/mod_scgi/Makefile
+++ b/www/mod_scgi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= scgi
-PORTVERSION= 1.2.a2
+PORTVERSION= 1.2
CATEGORIES= www
MASTER_SITES= http://www.mems-exchange.org/software/files/scgi/
PKGNAMEPREFIX= mod_
@@ -17,7 +17,7 @@ COMMENT= Apache module that implements the client side of the SCGI protocol
USE_APACHE= yes
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/${APACHE_DIR}
+WRKSRC= ${WRKDIR}/${DISTNAME}/${SCGI_DIR}
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/apache2/apr.h)
@@ -25,15 +25,17 @@ WITH_APACHE2= yes
.endif
.if defined(WITH_APACHE2)
-APACHE_DIR= apache2
+SCGI_DIR= apache2
PLIST_SUB= APACHE_DIR=apache2
.else
-APACHE_DIR= apache1
+SCGI_DIR= apache1
PLIST_SUB= APACHE_DIR=apache
.endif
-post-patch:
- ${REINPLACE_CMD} -E -e 's,apxs2?,${APXS},g' ${WRKSRC}/Makefile
+do-build:
+ cd ${WRKSRC} && ${APXS} -c mod_scgi.c
+do-install:
+ cd ${WRKSRC} && ${APXS} -i -c mod_scgi.c
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/www/mod_scgi/distinfo b/www/mod_scgi/distinfo
index ac9a3388bc6e..57fece8f0712 100644
--- a/www/mod_scgi/distinfo
+++ b/www/mod_scgi/distinfo
@@ -1,2 +1,2 @@
-MD5 (scgi-1.2a2.tar.gz) = 7ed218368a2dadaf8773cef944faa0bf
-SIZE (scgi-1.2a2.tar.gz) = 17713
+MD5 (scgi-1.2.tar.gz) = 577f6db7ab95e602378293756d368112
+SIZE (scgi-1.2.tar.gz) = 19098