aboutsummaryrefslogtreecommitdiff
path: root/databases/libdrizzle
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2010-06-04 00:21:31 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2010-06-04 00:21:31 +0000
commit42f5baad58fc1c83fc0a7d6a6ed5e3309cfa96f8 (patch)
tree1e033d5bf224c4ffa62c56781ff267703036c5ad /databases/libdrizzle
parent2e262e40ff807d1d347a4535a2d398c989b915fc (diff)
downloadports-42f5baad58fc1c83fc0a7d6a6ed5e3309cfa96f8.tar.gz
ports-42f5baad58fc1c83fc0a7d6a6ed5e3309cfa96f8.zip
Notes
Diffstat (limited to 'databases/libdrizzle')
-rw-r--r--databases/libdrizzle/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/databases/libdrizzle/Makefile b/databases/libdrizzle/Makefile
index fdbcbff859ad..70fbf6c81006 100644
--- a/databases/libdrizzle/Makefile
+++ b/databases/libdrizzle/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libdrizzle
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://launchpadlibrarian.net/41155299/ \
LOCAL/glarkin
@@ -16,6 +17,8 @@ COMMENT= Client and protocol library for the Drizzle database
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
+OPTIONS= DOCS "Build documentation with doxygen" Off
+
USE_GCC= 4.2+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-libsqlite3
@@ -28,12 +31,17 @@ SAMPLE_PROGS= client pipe_query proxy server simple \
.include <bsd.port.pre.mk>
.if !defined(NOPORTDOCS)
+.if defined(WITH_DOCS)
BUILD_DEPENDS+= doxygen>=0:${PORTSDIR}/devel/doxygen
ALL_TARGET= all doxygen
+PLIST_SUB+= PORTDOCS=""
post-install::
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
+.else
+PLIST_SUB+= PORTDOCS="@comment "
+.endif
.endif
.if !defined(NOPORTEXAMPLES)