aboutsummaryrefslogtreecommitdiffstats
path: root/devel/apr0/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-10-13 06:41:44 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-10-13 06:41:44 +0800
commit8becd05e15c257982679c0e250ebdcb912723bf8 (patch)
tree3c0e88f2a9b5fe9bc00b5994a9b7bcf147bca7e4 /devel/apr0/Makefile
parent04d35e2316d4ed4e8dd4e15504f14e4bca75f7e4 (diff)
downloadfreebsd-ports-gnome-8becd05e15c257982679c0e250ebdcb912723bf8.tar.gz
freebsd-ports-gnome-8becd05e15c257982679c0e250ebdcb912723bf8.tar.zst
freebsd-ports-gnome-8becd05e15c257982679c0e250ebdcb912723bf8.zip
- Upgrade to 1.0.0.
- Add APR_UTIL_WITH_LDAP knob. Approved by: maintainer (Craig Rodrigues), lev (active in this area)
Diffstat (limited to 'devel/apr0/Makefile')
-rw-r--r--devel/apr0/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/devel/apr0/Makefile b/devel/apr0/Makefile
index 0839b490ad35..c97e3c27768f 100644
--- a/devel/apr0/Makefile
+++ b/devel/apr0/Makefile
@@ -12,20 +12,18 @@
# APR_UTIL_WITHOUT_BERKELEY_DB: unconditionally disable the use of db4
# (the database bindings are detected and recorded automatically if these
# switches are not set)
+# APR_UTIL_WITH_LDAP: force dependency on OpenLDAP
PORTNAME= apr
-PORTVERSION= 0.9.4
-PORTREVISION= 9
+PORTVERSION= 1.0.0
CATEGORIES= devel
-#MASTER_SITES= http://www.apache.org/dist/apr/
-#DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
-DISTFILES= apr-APR_0_9_BRANCH_20040113112838.tar.gz apr-util-APU_0_9_BRANCH_20040113112849.tar.gz
+MASTER_SITES= http://www.apache.org/dist/apr/
+DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz
MAINTAINER= rodrigc@crodrigues.org
COMMENT= The Apache Group's Portability Library
+BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR}
LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
USE_ICONV= yes
@@ -34,6 +32,8 @@ USE_AUTOCONF_VER= 259
WANT_LIBTOOL_VER= 15
USE_PERL5= yes
USE_GMAKE= yes
+USE_PYTHON= yes
+PYTHON_NO_DEPENDS= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
@@ -77,6 +77,17 @@ PKGNAMESUFFIX= -db4
.endif
.endif
+.if defined(APR_UTIL_WITH_LDAP)
+USE_OPENLDAP= yes
+APR_UTIL_CONF_ARGS+= --with-ldap-include=${PREFIX}/include \
+ --with-ldap-lib=${PREFIX}/lib --with-ldap=ldap
+.if defined(PKGNAMESUFFIX)
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ldap
+.else
+PKGNAMESUFFIX= -ldap
+.endif
+.endif
+
pre-extract:
@${ECHO_MSG} ""
.if defined(APR_UTIL_WITHOUT_THREADS)