2005-12-26 10:07:30 +01:00
|
|
|
# New ports collection makefile for: mod_webkit
|
|
|
|
# Date created: 2005-12-22
|
|
|
|
# Whom: Choe, Cheng-Dae
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_webkit
|
2009-04-10 09:03:37 +02:00
|
|
|
PORTVERSION= 1.0.2b1
|
2005-12-26 10:07:30 +01:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/webware/OldFiles
|
2007-10-14 18:17:17 +02:00
|
|
|
DISTNAME= Webware-${PORTVERSION}
|
2005-12-26 10:07:30 +01:00
|
|
|
|
2008-12-27 22:15:31 +01:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2005-12-26 10:07:30 +01:00
|
|
|
COMMENT= A apache module for WebWare WebKit AppServer
|
|
|
|
|
2009-05-17 09:24:35 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2007-10-14 18:17:17 +02:00
|
|
|
USE_APACHE= 1.3+
|
|
|
|
AP_FAST_BUILD= yes
|
|
|
|
AP_GENPLIST= yes
|
2005-12-26 10:07:30 +01:00
|
|
|
|
2007-10-14 18:17:17 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-10-14 16:20:54 +02:00
|
|
|
|
2007-10-14 18:17:17 +02:00
|
|
|
.if ${APACHE_VERSION} >= 20
|
|
|
|
PKGNAMESUFFIX= -ap2
|
|
|
|
APACHE_VER= 2
|
|
|
|
.else
|
|
|
|
APACHE_VER= 1
|
|
|
|
.endif
|
2005-12-26 10:07:30 +01:00
|
|
|
|
2007-10-14 18:17:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/Webware-${PORTVERSION}/WebKit/Adapters/${PORTNAME}${APACHE_VER}
|
2005-12-26 10:07:30 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/Makefile
|
|
|
|
|
2007-10-14 18:17:17 +02:00
|
|
|
.include <bsd.port.post.mk>
|