summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/dbh/Makefile14
-rw-r--r--databases/dbh/distinfo4
-rw-r--r--databases/dbh/pkg-plist18
3 files changed, 20 insertions, 16 deletions
diff --git a/databases/dbh/Makefile b/databases/dbh/Makefile
index e4539f7f0474..6e113da6f76b 100644
--- a/databases/dbh/Makefile
+++ b/databases/dbh/Makefile
@@ -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>
diff --git a/databases/dbh/distinfo b/databases/dbh/distinfo
index 667ce948021c..3d9630fb978c 100644
--- a/databases/dbh/distinfo
+++ b/databases/dbh/distinfo
@@ -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
diff --git a/databases/dbh/pkg-plist b/databases/dbh/pkg-plist
index d706b703ae57..25a57e83758e 100644
--- a/databases/dbh/pkg-plist
+++ b/databases/dbh/pkg-plist
@@ -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