blob: 075f66abcb48e5bd2168be3f8290aa534eda1999 (
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
42
43
44
|
# New ports collection makefile for: abcache
# Date created: Sat Feb 23 14:27:35 CET 2002
# Whom: Alex Dupre <sysadmin@alexdupre.com>
#
# $FreeBSD$
#
PORTNAME= abcache
PORTVERSION= 0.14
CATEGORIES= www
MASTER_SITES= http://afterburner.bware.it/download/
EXTRACT_SUFX= .tgz
MAINTAINER= sysadmin@alexdupre.com
COMMENT= A tool to cache applications written in PHP
BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
autoconf:${PORTSDIR}/devel/autoconf \
phpize:${PORTSDIR}/www/mod_php4
RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
USE_LIBTOOL= yes
LIBTOOLFILES= aclocal.m4
WRKSRC= ${WRKDIR}/bware_cache-${PORTVERSION}
CONFIGURE_ARGS+=--enable-bware_cache=shared \
--with-php-config=${LOCALBASE}/bin/php-config
post-extract:
@${ECHO_MSG} "===> PHPizing for ${DISTNAME}"
@cd ${WRKSRC} && ${LOCALBASE}/bin/phpize
do-install:
@${MKDIR} ${PREFIX}/lib/php/20010901
@${INSTALL_DATA} ${WRKSRC}/modules/bware_cache.so \
${PREFIX}/lib/php/20010901
post-install:
@${SED} "s!%%LOCALBASE%%!${LOCALBASE}!g;s!%%PREFIX%%!${PREFIX}!g" \
${PKGMESSAGE}
.include <bsd.port.mk>
|