diff options
author | timur <timur@FreeBSD.org> | 2010-02-05 08:50:46 +0800 |
---|---|---|
committer | timur <timur@FreeBSD.org> | 2010-02-05 08:50:46 +0800 |
commit | 67d3cbaf6868dc1509b415c33424080c27b1e0f0 (patch) | |
tree | 71bb3ccb991e88df5620e36b9b8aef4fe2fb7c49 /databases/tdb | |
parent | 3c5c90c7b20e4aabc0aca01a765103cfb1011ae9 (diff) | |
download | freebsd-ports-gnome-67d3cbaf6868dc1509b415c33424080c27b1e0f0.tar.gz freebsd-ports-gnome-67d3cbaf6868dc1509b415c33424080c27b1e0f0.tar.zst freebsd-ports-gnome-67d3cbaf6868dc1509b415c33424080c27b1e0f0.zip |
Upgrade tdb to tne new version 1.2.0.
Diffstat (limited to 'databases/tdb')
-rw-r--r-- | databases/tdb/Makefile | 33 | ||||
-rw-r--r-- | databases/tdb/distinfo | 3 | ||||
-rw-r--r-- | databases/tdb/files/patch-tdb.mk | 36 |
3 files changed, 57 insertions, 15 deletions
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile index 64b486f0494d..ecc37b84a204 100644 --- a/databases/tdb/Makefile +++ b/databases/tdb/Makefile @@ -6,24 +6,19 @@ # PORTNAME= tdb -PORTVERSION= 1.1.5 +PORTVERSION= 1.2.0 PORTREVISION= 0 -PORTEPOCH= 0 CATEGORIES= databases -PKGNAMESUFFIX= +MASTER_SITES= ftp://ftp.samba.org/pub/%SUBDIR%/ \ + ftp://ca.samba.org/pub/%SUBDIR%/ \ + ftp://de.samba.org/pub/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTNAME} +MAINTAINER= timur@FreeBSD.org COMMENT= Trivial Database CONFLICTS= *samba-3.* -SAMBA_PORT?= samba4-devel -SAMBA_SUBPORT= yes - -MASTERDIR= ${.CURDIR}/../../net/${SAMBA_PORT} -PKGDIR= ${.CURDIR} - -WRKSRC= ${WRKDIR}/${DISTNAME}/lib/tdb - USE_PYTHON= yes USE_GMAKE= yes USE_LDCONFIG= yes @@ -31,6 +26,14 @@ GNU_CONFIGURE= yes USE_GNOME= pkgconfig USE_AUTOTOOLS= autoconf:262 autoheader:262 +IPATHS= -I${WRKSRC}/libreplace +AUTOHEADER_ARGS= ${IPATHS} +AUTOCONF_ARGS= ${IPATHS} + +PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig +PKGCONFIGDIR_REL?= ${PKGCONFIGDIR:S|^${PREFIX}/||} +PYTHON_SITELIBDIR_REL?= ${PYTHONPREFIX_SITELIBDIR:S|^${PREFIX}/||} + PLIST_FILES= bin/tdbbackup \ bin/tdbdump \ bin/tdbtool \ @@ -38,10 +41,10 @@ PLIST_FILES= bin/tdbbackup \ lib/libtdb.a \ lib/libtdb.so \ lib/libtdb.so.1 \ - libdata/pkgconfig/tdb.pc \ - ${PYTHONPREFIX_SITELIBDIR:S|${PREFIX}/||}/tdb.so + ${PKGCONFIGDIR_REL}/tdb.pc \ + ${PYTHON_SITELIBDIR_REL}/tdb.so post-install: - @${LN} -sf libtdb.so.1 ${PREFIX}/lib/libtdb.so + @${LN} -sf libtdb.so.1 ${PREFIX}/lib/libtdb.so -.include "${MASTERDIR}/Makefile" +.include <bsd.port.mk> diff --git a/databases/tdb/distinfo b/databases/tdb/distinfo new file mode 100644 index 000000000000..eb7b62090724 --- /dev/null +++ b/databases/tdb/distinfo @@ -0,0 +1,3 @@ +MD5 (tdb-1.2.0.tar.gz) = 4115849d2ef431a10bc1f1933eafb9b6 +SHA256 (tdb-1.2.0.tar.gz) = 1997f2c651bb68a3bac9a6885c1d623249554f50064fe49ad31711cdedac53fd +SIZE (tdb-1.2.0.tar.gz) = 264551 diff --git a/databases/tdb/files/patch-tdb.mk b/databases/tdb/files/patch-tdb.mk new file mode 100644 index 000000000000..67ab863b289a --- /dev/null +++ b/databases/tdb/files/patch-tdb.mk @@ -0,0 +1,36 @@ +--- ./tdb.mk.orig 2010-01-09 02:39:48.000000000 +0000 ++++ ./tdb.mk 2010-01-09 02:42:49.000000000 +0000 +@@ -6,7 +6,7 @@ + ALL_PROGS = $(PROGS) $(PROGS_NOINSTALL) + + TDB_SONAME = libtdb.$(SHLIBEXT).1 +-TDB_SOLIB = libtdb.$(SHLIBEXT).$(PACKAGE_VERSION) ++TDB_SOLIB = libtdb.$(SHLIBEXT).1 + TDB_STLIB = libtdb.a + + TDB_LIB = $(TDB_STLIB) +@@ -67,7 +67,7 @@ + mkdir -p $(DESTDIR)$(bindir) + mkdir -p $(DESTDIR)$(includedir) + mkdir -p $(DESTDIR)$(libdir) +- mkdir -p $(DESTDIR)$(libdir)/pkgconfig ++ mkdir -p $(DESTDIR)$(prefix)/libdata/pkgconfig + + installbin:: all installdirs + cp $(PROGS) $(DESTDIR)$(bindir) +@@ -76,7 +76,7 @@ + cp $(srcdir)/include/tdb.h $(DESTDIR)$(includedir) + + installlibs:: all installdirs +- cp tdb.pc $(DESTDIR)$(libdir)/pkgconfig ++ cp tdb.pc $(DESTDIR)$(prefix)/libdata/pkgconfig + cp $(TDB_STLIB) $(TDB_SOLIB) $(DESTDIR)$(libdir) + + $(TDB_STLIB): $(TDB_OBJ) +@@ -84,6 +84,3 @@ + + libtdb.$(SHLIBEXT): $(TDB_SOLIB) + ln -fs $< $@ +- +-$(TDB_SONAME): $(TDB_SOLIB) +- ln -fs $< $@ |