diff options
author | Timur I. Bakeyev <timur@FreeBSD.org> | 2010-02-05 00:50:46 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2010-02-05 00:50:46 +0000 |
commit | d81e457eaaed71f97f82fdbd2f1b89580760f80e (patch) | |
tree | af79d5b26152a95b9d0d5fbac99ace382d7540f5 /databases/tdb | |
parent | 8ad9d41e4a47b723d2b11bc3a582e863cc08a8f5 (diff) | |
download | ports-d81e457eaaed71f97f82fdbd2f1b89580760f80e.tar.gz ports-d81e457eaaed71f97f82fdbd2f1b89580760f80e.zip |
Notes
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 $< $@ |