blob: add495082a442de1ae408aa4b9e202ad42056f35 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.29 2018/11/13 10:22:25 markd Exp $
.include "../../multimedia/ming/Makefile.common"
PECL_VERSION= ${MING_VERSION}
MODNAME= ming
CATEGORIES+= multimedia
DIST_SUBDIR?= #empty
EXTRACT_SUFX= .tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libming.org/
COMMENT= PHP extension for Ming library
LICENSE= php
CONFLICTS= php-ming-[0-9]*
PHP_VERSIONS_ACCEPTED= 56
CONFIGURE_ARGS+= --with-${MODNAME}=${BUILDLINK_PREFIX.ming}
PHPSETUPSUBDIR= php_ext
MODULESDIR= ${WRKSRC}/${PHPSETUPSUBDIR}/modules
CONFIGURE_DIRS= ${PHPSETUPSUBDIR}
USE_TOOLS+= aclocal autoconf automake autoheader pkg-config
# missing in 0.4.4 release tarball.
post-extract:
${CP} ${FILESDIR}/config.m4 ${WRKSRC}/${PHPSETUPSUBDIR}
pre-configure:
cd ${WRKSRC}; sh ./autogen.sh
.include "../../lang/php/ext.mk"
DISTNAME= ming-${MING_VERSION:S/./_/g}
.include "../../multimedia/ming/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|