1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Unbroken

- Make this port independence from www/py-webware
- Determine what version to build by ${APACHE_VERSION},
  gives compatibility with apache2x.

Discussed with:	pav
This commit is contained in:
Li-Wen Hsu 2007-10-14 16:17:17 +00:00
parent ba29c1532c
commit 41df56b443
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201464
2 changed files with 19 additions and 11 deletions

View File

@ -6,26 +6,31 @@
#
PORTNAME= mod_webkit
PORTVERSION= 0.9.2
PORTVERSION= 0.9.4
CATEGORIES= www
MASTER_SITES= # none
DISTFILES= # none
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webware
DISTNAME= Webware-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A apache module for WebWare WebKit AppServer
PATCH_DEPENDS= ${NONEXISTENT}:${WEBWARE_PORT}:extract
USE_APACHE= 1.3+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
BROKEN= does not build
.include <bsd.port.pre.mk>
USE_APACHE= 1.3
.if ${APACHE_VERSION} >= 20
PKGNAMESUFFIX= -ap2
APACHE_VER= 2
.else
APACHE_VER= 1
.endif
WEBWARE_PORT= ${PORTSDIR}/www/py-webware
WRKSRC= ${WRKDIR}/../../../www/py-webware/work/Webware-${PORTVERSION}/WebKit/Adapters/${PORTNAME}
PLIST_FILES= libexec/apache/mod_webkit.so
WRKSRC= ${WRKDIR}/Webware-${PORTVERSION}/WebKit/Adapters/${PORTNAME}${APACHE_VER}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/sbin/apxs|${APXS}|' ${WRKSRC}/Makefile
.include <bsd.port.mk>
.include <bsd.port.post.mk>

3
www/mod_webkit/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (Webware-0.9.4.tar.gz) = 7fef58f8eacaae1e2cc7e5f7f70a247d
SHA256 (Webware-0.9.4.tar.gz) = 5c157976d81aedb68b707a229bfdd10a70700622ed081a4cf12727437cfdd24a
SIZE (Webware-0.9.4.tar.gz) = 936493