summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-08-23 15:36:20 +0000
committertaca <taca@pkgsrc.org>2015-08-23 15:36:20 +0000
commit96825271b46bfbc61e0e0a80d5db44d0a1c0faa2 (patch)
treea56758031bbb490213f9fe403297e109a4782f73 /net
parent3155a7833a1491c21579880916993c6de1519f26 (diff)
downloadpkgsrc-96825271b46bfbc61e0e0a80d5db44d0a1c0faa2.tar.gz
Utilize PEAR_PACKAGE_XML and add prefix ${PHP_PKG_PREFIX} to PKGNAME as
other PHP/pear packages.
Diffstat (limited to 'net')
-rw-r--r--net/pear-Net_LDAP3/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/net/pear-Net_LDAP3/Makefile b/net/pear-Net_LDAP3/Makefile
index 665ef6f9847..40c4ef1f262 100644
--- a/net/pear-Net_LDAP3/Makefile
+++ b/net/pear-Net_LDAP3/Makefile
@@ -1,9 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2015/06/06 05:26:55 manu Exp $
+# $NetBSD: Makefile,v 1.2 2015/08/23 15:36:20 taca Exp $
DISTNAME= Net_LDAP3-1.0.3
-PKGNAME= pear-${DISTNAME}
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= pear
MASTER_SITES= ${MASTER_SITE_LOCAL}
CATEGORIES+= net
@@ -11,17 +8,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Object oriented interface for searching and manipulating LDAP-entries
LICENSE= gnu-lgpl-v3
-PEAR_LIB= lib/php # duplicate from ../../langf/php/pear.mk
-NO_CONFIGURE= yes
-NO_BUILD= yes
-USE_TOOLS+= pax
-
DEPENDS+= ${PHP_PKG_PREFIX}-ldap>=5.2.12:../../databases/php-ldap
-do-install:
- cd ${WRKSRC}/lib && ${PAX} -wr * ${DESTDIR}${PREFIX}/${PEAR_LIB}/
+PEAR_PACKAGE_XML= no
-PLIST_SUBST+= PEAR_LIB=${PEAR_LIB:Q}
+NO_CONFIGURE= yes
+USE_TOOLS+= pax
-.include "../../lang/php/phpversion.mk"
+.include "../../lang/php/pear.mk"
.include "../../mk/bsd.pkg.mk"