# Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= dbh PORTVERSION= 5.0.7 CATEGORIES= databases MASTER_SITES= SF MAINTAINER= culot@FreeBSD.org COMMENT= Disk Based Hashtables CONFLICTS= dbh-[0-4]* USES= pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= GTKDOC EXAMPLES GTKDOC_DESC= Enable GTK html documentation .for a in ia64 powerpc sparc64 BROKEN_${a}= Does not compile on ia64, powerpc, or sparc64 .endfor .include .if ${PORT_OPTIONS:MGTKDOC} CONFIGURE_ARGS+= --enable-gtk-doc-html PLIST_SUB= GTKDOC="" .else CONFIGURE_ARGS+= --disable-gtk-doc-html PLIST_SUB= GTKDOC="@comment " .endif post-patch: # 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 .include