Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 08:15:15 +0000 (UTC)
From:      Frederic Culot <culot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362303 - head/databases/dbh
Message-ID:  <201407200815.s6K8FFdb003073@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: culot
Date: Sun Jul 20 08:15:15 2014
New Revision: 362303
URL: http://svnweb.freebsd.org/changeset/ports/362303
QAT: https://qat.redports.org/buildarchive/r362303/

Log:
  - Update to 5.0.15
  - Add LICENSE (GPL 3)
  
  Changes:	http://sourceforge.net/projects/dbh/files/dbh/

Modified:
  head/databases/dbh/Makefile
  head/databases/dbh/distinfo
  head/databases/dbh/pkg-plist

Modified: head/databases/dbh/Makefile
==============================================================================
--- head/databases/dbh/Makefile	Sun Jul 20 08:10:14 2014	(r362302)
+++ head/databases/dbh/Makefile	Sun Jul 20 08:15:15 2014	(r362303)
@@ -2,20 +2,23 @@
 # $FreeBSD$
 
 PORTNAME=	dbh
-PORTVERSION=	5.0.7
+PORTVERSION=	5.0.15
 CATEGORIES=	databases
 MASTER_SITES=	SF
+DISTNAME=	libdbh2-${PORTVERSION}
 
 MAINTAINER=	culot@FreeBSD.org
 COMMENT=	Disk Based Hashtables
 
+LICENSE=	GPLv3
+
 CONFLICTS=	dbh-[0-4]*
 
 USES=		pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	GTKDOC EXAMPLES
+OPTIONS_DEFINE=	GTKDOC
 GTKDOC_DESC=	Enable GTK html documentation
 
 .for a in ia64 powerpc sparc64
@@ -33,15 +36,14 @@ PLIST_SUB=	GTKDOC="@comment "
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
 # Needed to remove gtk-doc installation.
 .if empty(PORT_OPTIONS:MGTKDOC)
 	@${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' ${WRKSRC}/Makefile.in
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} '*.c' ${STAGEDIR}${EXAMPLESDIR})
-.endif
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdbh.so.2
 
 .include <bsd.port.mk>

Modified: head/databases/dbh/distinfo
==============================================================================
--- head/databases/dbh/distinfo	Sun Jul 20 08:10:14 2014	(r362302)
+++ head/databases/dbh/distinfo	Sun Jul 20 08:15:15 2014	(r362303)
@@ -1,2 +1,2 @@
-SHA256 (dbh-5.0.7.tar.gz) = 02f9ccf3098518ebca160ae6ebbbb5e044094a8133456dfcf8cc9c6983caf9bb
-SIZE (dbh-5.0.7.tar.gz) = 521401
+SHA256 (libdbh2-5.0.15.tar.gz) = aa19a232fdb0d4e7acc842a859b6c0727cf74eab65a8934989589f57b268cd44
+SIZE (libdbh2-5.0.15.tar.gz) = 529293

Modified: head/databases/dbh/pkg-plist
==============================================================================
--- head/databases/dbh/pkg-plist	Sun Jul 20 08:10:14 2014	(r362302)
+++ head/databases/dbh/pkg-plist	Sun Jul 20 08:15:15 2014	(r362303)
@@ -1,10 +1,10 @@
 include/dbh/dbh.h
-lib/libdbh2.a
-lib/libdbh2.so
-lib/libdbh2.so.0
+lib/libdbh.a
+lib/libdbh.so
+lib/libdbh.so.2
 libdata/pkgconfig/dbh2.pc
-man/man1/dbh.1.gz
-man/man1/dbh.h.1.gz
+man/man3/dbh.3.gz
+man/man3/dbh.h.3.gz
 man/man3/dbh_close.3.gz
 man/man3/dbh_create.3.gz
 man/man3/dbh_destroy.3.gz
@@ -38,6 +38,10 @@ man/man3/dbh_unerase.3.gz
 man/man3/dbh_unprune.3.gz
 man/man3/dbh_update.3.gz
 man/man3/dbh_writeheader.3.gz
+%%DATADIR%%/Makefile.am
+%%DATADIR%%/dbh.vim
+%%DATADIR%%/filesystem.c
+%%DATADIR%%/simple_hash.c
 %%GTKDOC%%share/gtk-doc/html/dbh/DBH.html
 %%GTKDOC%%share/gtk-doc/html/dbh/calc.png
 %%GTKDOC%%share/gtk-doc/html/dbh/ch01.html
@@ -48,10 +52,8 @@ man/man3/dbh_writeheader.3.gz
 %%GTKDOC%%share/gtk-doc/html/dbh/right.png
 %%GTKDOC%%share/gtk-doc/html/dbh/style.css
 %%GTKDOC%%share/gtk-doc/html/dbh/up.png
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filesystem.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_hash.c
 %%GTKDOC%%@dirrm share/gtk-doc/html/dbh
 %%GTKDOC%%@dirrmtry share/gtk-doc/html
 %%GTKDOC%%@dirrmtry share/gtk-doc
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrmtry %%DATADIR%%
 @dirrm include/dbh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407200815.s6K8FFdb003073>