freebsd-ports/sysutils/pear-Log/Makefile
Edwin Groothuis ad1601a58a sysutils/pear-Log: upgrading to 1.6.1.
Upgrading pear-Log to 1.6.1.
	It fixes a typo that broke the Log_Observer class.

PR:		ports/50579
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-04-04 00:36:47 +00:00

46 lines
1018 B
Makefile

# Ports collection makefile for: pear-Log
# Date created: 22 October 2002
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
#
PORTNAME= Log
PORTVERSION= 1.6.1
CATEGORIES= sysutils www
MASTER_SITES= http://pear.php.net/get/
PKGNAMEPREFIX= pear-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PEAR
MAINTAINER= ports@FreeBSD.org
COMMENT= PEAR logging utilities
BUILD_DEPENDS= ${PEARDIR}/PEAR.php.dist:${PORTSDIR}/devel/pear-PEAR
# ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
RUN_DEPENDS= ${BUILD_DEPENDS}
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/php-config)
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_BASE= ${LOCALBASE}
.endif
PEAR= ${LOCALBASE}/bin/pear
LPHP_LIB= lib/php
PEARDIR= ${PHP_BASE}/${LPHP_LIB}
PLIST_SUB= PEARDIR=${LPHP_LIB}
do-install:
@${CP} -Rp ${WRKSRC}/* ${PEARDIR}
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/${PORTNAME}*
post-install:
# Register a new package
@${PEAR} install -r -f ${WRKDIR}/package.xml
.include <bsd.port.post.mk>