blob: 2506dac8106d7543e75d9d30a67badce1b3839bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: scgi
# Date created: 19 Aug 2002
# Whom: Neil Blakey-Milner <nbm@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= scgi
PORTVERSION= 1.2.a2
CATEGORIES= www
MASTER_SITES= http://www.mems-exchange.org/software/files/scgi/
PKGNAMEPREFIX= mod_
DISTNAME= scgi-${PORTVERSION:S/.a/a/}
MAINTAINER= dryice@liu.com.cn
COMMENT= Apache module that implements the client side of the SCGI protocol
USE_APACHE= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/${APACHE_DIR}
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/include/apache2/apr.h)
WITH_APACHE2= yes
.endif
.if defined(WITH_APACHE2)
APACHE_DIR= apache2
PLIST_SUB= APACHE_DIR=apache2
.else
APACHE_DIR= apache1
PLIST_SUB= APACHE_DIR=apache
.endif
post-patch:
${REINPLACE_CMD} -E -e 's,apxs2?,${APXS},g' ${WRKSRC}/Makefile
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|