2012-10-05 18:42:38 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2002-08-09 18:22:37 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dbh
|
2015-05-18 15:35:56 +02:00
|
|
|
PORTVERSION= 5.0.19
|
2002-08-09 18:22:37 +02:00
|
|
|
CATEGORIES= databases
|
2014-02-12 14:24:11 +01:00
|
|
|
MASTER_SITES= SF
|
2014-07-20 10:15:15 +02:00
|
|
|
DISTNAME= libdbh2-${PORTVERSION}
|
2002-08-09 18:22:37 +02:00
|
|
|
|
2010-10-20 07:53:20 +02:00
|
|
|
MAINTAINER= culot@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Disk Based Hashtables
|
2002-08-09 18:22:37 +02:00
|
|
|
|
2014-07-20 10:15:15 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2014-02-12 14:24:11 +01:00
|
|
|
CONFLICTS= dbh-[0-4]*
|
2006-11-05 06:54:17 +01:00
|
|
|
|
2014-10-05 23:10:47 +02:00
|
|
|
USES= libtool pkgconfig
|
2015-09-06 15:15:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-pkglibdata
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-08-09 18:22:37 +02:00
|
|
|
|
2015-09-06 15:15:53 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2014-07-20 10:15:15 +02:00
|
|
|
OPTIONS_DEFINE= GTKDOC
|
2012-10-05 18:42:38 +02:00
|
|
|
GTKDOC_DESC= Enable GTK html documentation
|
2010-08-21 02:28:52 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-10-05 18:42:38 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTKDOC}
|
2010-08-21 02:28:52 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc-html
|
|
|
|
PLIST_SUB= GTKDOC=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc-html
|
|
|
|
PLIST_SUB= GTKDOC="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2015-09-06 15:15:53 +02:00
|
|
|
# Fix the build on big-endian architectures.
|
|
|
|
@${REINPLACE_CMD} -e '/fractalidad/d' ${WRKSRC}/src/dbh_static.i
|
2010-08-21 02:28:52 +02:00
|
|
|
# Needed to remove gtk-doc installation.
|
2012-10-05 18:42:38 +02:00
|
|
|
.if empty(PORT_OPTIONS:MGTKDOC)
|
2015-09-06 15:15:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2010-08-21 02:28:52 +02:00
|
|
|
.endif
|
|
|
|
|
2014-01-16 00:27:54 +01:00
|
|
|
.include <bsd.port.mk>
|