summaryrefslogtreecommitdiff
path: root/devel/apr-util
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2007-01-24 19:37:20 +0000
committerepg <epg@pkgsrc.org>2007-01-24 19:37:20 +0000
commit0e02f9a14d14771f7608addd32e9b841068e871d (patch)
tree1a2ad869aa69e2718515c919d2fad7a761e2d62c /devel/apr-util
parentaafdd14e046e718837f7b743c93fc9f8293a26e9 (diff)
downloadpkgsrc-0e02f9a14d14771f7608addd32e9b841068e871d.tar.gz
Import apr-util-1.2.8.
The Apache Portable Run-time mission is to provide a library of routines that allows programmers to write a program once and be able to compile it anywhere.
Diffstat (limited to 'devel/apr-util')
-rw-r--r--devel/apr-util/DESCR3
-rw-r--r--devel/apr-util/Makefile33
-rw-r--r--devel/apr-util/PLIST33
-rw-r--r--devel/apr-util/buildlink3.mk44
-rw-r--r--devel/apr-util/distinfo5
-rw-r--r--devel/apr-util/options.mk20
6 files changed, 138 insertions, 0 deletions
diff --git a/devel/apr-util/DESCR b/devel/apr-util/DESCR
new file mode 100644
index 00000000000..4961cf68f32
--- /dev/null
+++ b/devel/apr-util/DESCR
@@ -0,0 +1,3 @@
+The Apache Portable Run-time mission is to provide a library of
+routines that allows programmers to write a program once and be
+able to compile it anywhere.
diff --git a/devel/apr-util/Makefile b/devel/apr-util/Makefile
new file mode 100644
index 00000000000..f9722df6760
--- /dev/null
+++ b/devel/apr-util/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/24 19:37:20 epg Exp $
+#
+
+DISTNAME= apr-util-1.2.8
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_APACHE:=apr/}
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://apr.apache.org/
+COMMENT= Apache Portable Runtime utilities
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= apr-util.pc.in
+
+CONFIGURE_ARGS+= \
+ --with-apr=${BUILDLINK_PREFIX.apr}/bin/apr-1-config \
+ --with-expat=${BUILDLINK_PREFIX.expat} \
+ --without-gdbm
+
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/apr/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/apr-util/PLIST b/devel/apr-util/PLIST
new file mode 100644
index 00000000000..20f5209bb24
--- /dev/null
+++ b/devel/apr-util/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/24 19:37:20 epg Exp $
+bin/apu-1-config
+include/apr-1/apr_anylock.h
+include/apr-1/apr_base64.h
+include/apr-1/apr_buckets.h
+include/apr-1/apr_date.h
+include/apr-1/apr_dbd.h
+include/apr-1/apr_dbm.h
+include/apr-1/apr_hooks.h
+include/apr-1/apr_ldap.h
+include/apr-1/apr_ldap_init.h
+include/apr-1/apr_ldap_option.h
+include/apr-1/apr_ldap_url.h
+include/apr-1/apr_md4.h
+include/apr-1/apr_md5.h
+include/apr-1/apr_optional.h
+include/apr-1/apr_optional_hooks.h
+include/apr-1/apr_queue.h
+include/apr-1/apr_reslist.h
+include/apr-1/apr_rmm.h
+include/apr-1/apr_sdbm.h
+include/apr-1/apr_sha1.h
+include/apr-1/apr_strmatch.h
+include/apr-1/apr_uri.h
+include/apr-1/apr_uuid.h
+include/apr-1/apr_xlate.h
+include/apr-1/apr_xml.h
+include/apr-1/apu.h
+include/apr-1/apu_version.h
+include/apr-1/apu_want.h
+lib/aprutil.exp
+lib/libaprutil-1.la
+lib/pkgconfig/apr-util-1.pc
diff --git a/devel/apr-util/buildlink3.mk b/devel/apr-util/buildlink3.mk
new file mode 100644
index 00000000000..f1af24ba891
--- /dev/null
+++ b/devel/apr-util/buildlink3.mk
@@ -0,0 +1,44 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/01/24 19:37:20 epg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+APR_UTIL_BUILDLINK3_MK:= ${APR_UTIL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= apr-util
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napr-util}
+BUILDLINK_PACKAGES+= apr-util
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apr-util
+
+.if !empty(APR_UTIL_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.2.8
+BUILDLINK_PKGSRCDIR.apr-util?= ../../devel/apr-util
+
+BUILDLINK_FILES.apr-util+= bin/apu-1-config
+BUILDLINK_FILES.apr-util+= lib/aprutil.exp
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+. if !defined(PKG_BUILD_OPTIONS.apr-util)
+PKG_BUILD_OPTIONS.apr-util!= cd ${BUILDLINK_PKGSRCDIR.apr-util} && \
+ ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
+MAKEFLAGS+= PKG_BUILD_OPTIONS.apr-util=${PKG_BUILD_OPTIONS.apr-util:Q}
+. endif
+MAKEVARS+= PKG_BUILD_OPTIONS.apr-util
+.endif # APR_UTIL_BUILDLINK3_MK
+
+.if !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
+. include "../../databases/db4/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.apr-util:Mldap)
+. include "../../databases/openldap-client/buildlink3.mk"
+.endif
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/apr/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/apr-util/distinfo b/devel/apr-util/distinfo
new file mode 100644
index 00000000000..85df8a4a9ea
--- /dev/null
+++ b/devel/apr-util/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/24 19:37:20 epg Exp $
+
+SHA1 (apr-util-1.2.8.tar.gz) = 49260d98b863756974bd83cd28bc39338d4f3a82
+RMD160 (apr-util-1.2.8.tar.gz) = 00b10ef0aab26f3ea5d374e2400c1dba566a9020
+Size (apr-util-1.2.8.tar.gz) = 646379 bytes
diff --git a/devel/apr-util/options.mk b/devel/apr-util/options.mk
new file mode 100644
index 00000000000..00545c26159
--- /dev/null
+++ b/devel/apr-util/options.mk
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/01/24 19:37:20 epg Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.apr-util
+PKG_SUPPORTED_OPTIONS= db4 ldap
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdb4)
+CONFIGURE_ARGS+= \
+ --with-berkeley-db=${BUILDLINK_PREFIX.db4}/include:${LOCALBASE}
+. include "../../databases/db4/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --with-dbm=sdbm
+.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+CONFIGURE_ARGS+= --with-ldap
+CONFIGURE_ARGS+= --with-ldap
+. include "../../databases/openldap-client/buildlink3.mk"
+.endif