1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/textproc/pecl-wbxml/Makefile
Florian Smeets c9bc1101fc Fixes to r399104. Don't use hard coded /usr/local in patch files, and
replace the correct variables.

Pointy hat to:	flo
2015-10-11 21:51:28 +00:00

28 lines
600 B
Makefile

# Created by: Florian Smeets <flo@smeets.im>
# $FreeBSD$
PORTNAME= wbxml
PORTVERSION= 1.0.3
PORTREVISION= 2
CATEGORIES= textproc pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
MAINTAINER= flo@FreeBSD.org
COMMENT= PECL extension that provides WBXML conversion capabilities
LIB_DEPENDS= libwbxml2.so:${PORTSDIR}/textproc/wbxml2
USES=tar:tgz
CONFIGURE_ARGS= --with-wbxml=${LOCALBASE} \
--with-libexpat-dir=${LOCALBASE}
USE_PHP= yes
USE_PHPEXT= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config.m4
.include <bsd.port.mk>