1 # Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
8 DISTNAME= libdbh2-${PORTVERSION}
10 MAINTAINER= culot@FreeBSD.org
11 COMMENT= Disk Based Hashtables
17 USES= libtool pkgconfig
19 CONFIGURE_ARGS= --with-pkglibdata
22 INSTALL_TARGET= install-strip
24 OPTIONS_DEFINE= GTKDOC
25 GTKDOC_DESC= Enable GTK html documentation
27 .include <bsd.port.options.mk>
29 .if ${PORT_OPTIONS:MGTKDOC}
30 CONFIGURE_ARGS+= --enable-gtk-doc-html
33 CONFIGURE_ARGS+= --disable-gtk-doc-html
34 PLIST_SUB= GTKDOC="@comment "
38 # Fix the build on big-endian architectures.
39 @${REINPLACE_CMD} -e '/fractalidad/d' ${WRKSRC}/src/dbh_static.i
40 # Needed to remove gtk-doc installation.
41 .if empty(PORT_OPTIONS:MGTKDOC)
42 @${REINPLACE_CMD} -e 's|^\(SUBDIRS = src man\).*|\1|' \
46 .include <bsd.port.mk>