blob: bb07161b8ac6075be0a983a313d33671d81896ca (
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: 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
WRKSRC= ${WRKDIR}/bware_cache-${PORTVERSION}
USE_PHPIZE= yes
WITH_PHP_MOD= yes
CONFIGURE_ARGS+=--enable-bware_cache=shared
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
post-build:
@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
${.CURDIR}/pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
@${INSTALL_DATA} ${WRKSRC}/modules/bware_cache.so \
${PREFIX}/lib/php/${PHP_EXT_DIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|