freebsd-ports/textproc/pecl-xdiff/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

28 lines
607 B
Makefile

# New ports collection makefile for: pecl-xdiff
# Date created: 19 April 2006
# Whom: Larry Rosenman <ler@lerctr.org>
#
# $FreeBSD$
#
PORTNAME= xdiff
PORTVERSION= 1.5.1
CATEGORIES= textproc pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= ler@lerctr.org
COMMENT= A PECL extension to create/apply binary and text patches
LIB_DEPENDS= xdiff.0:${PORTSDIR}/textproc/libxdiff
USE_PHP= yes
USE_PHPEXT= yes
LDFLAGS+= -L${LOCALBASE}/lib
post-configure:
echo "#define HAVE_XDL_ALLOCATOR_PRIV 1" >>${WRKSRC}/config.h
.include <bsd.port.mk>