mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
- Add OPTION to explicitly build the documentation set and the doxygen
dependency. This option will be off by default so the databases/drizzle build can avoid building doxygen and its deps when it builds the libdrizzle dep. databases/drizzle also has the same option, defaulted to "off".
This commit is contained in:
parent
2e262e40ff
commit
42f5baad58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255685
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user