mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
6d715f9804
PR: 36349 Submitted by: maintainer
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# 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
|
|
|
|
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>
|