summaryrefslogtreecommitdiff
path: root/textproc/php-wddx/Makefile
blob: 0a7f136f770e332be37df65c71c3afb4cf663415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.16 2012/06/14 07:45:28 sbd Exp $

MODNAME=		wddx
PKGREVISION=		1
CATEGORIES+=		textproc
COMMENT=		PHP extension for WDDX support

PKG_DESTDIR_SUPPORT=	user-destdir

CONFLICTS=	php-wddx-[0-9]*

CONFIGURE_ARGS+=	--enable-${MODNAME}=shared,${BUILDLINK_DIR}
CONFIGURE_ARGS+=	--with-libxml-dir=${BUILDLINK_DIR}

USE_PHP_EXT_PATCHES=	# defined

# appease some PHP build assumpsions
CFLAGS+=	-I${BUILDLINK_DIR}/include/libxml2 \
		-I${BUILDLINK_DIR}/include/php/ext/date/lib

.include "../../lang/php/phpversion.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"