1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 5.0.15

- Add LICENSE (GPL 3)

Changes:	http://sourceforge.net/projects/dbh/files/dbh/
This commit is contained in:
Frederic Culot 2014-07-20 08:15:15 +00:00
parent 46306fd517
commit 442534a4d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362303
3 changed files with 20 additions and 16 deletions

View File

@ -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>

View File

@ -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

View File

@ -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