bb5196a149
variables deprecation revision WITHOUT_NLS 2013-12-13 r336337 WITH_/WITHOUT_ 2014-02-24 r345870 NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587 WITH_BDB_VER 2016-05-02 r414444 OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387 WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965 While there, add an ERROR variable that works like DEV_ERROR, but for user facing errors, and move NOPORTDOCS, NOPORTEXAMPLES and WITHOUT_NLS to it. Cleanup bsd.sanity.mk a bit. Fix fallout. PR: 224613 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13490
53 lines
1.2 KiB
Makefile
53 lines
1.2 KiB
Makefile
# Created by: Greg Larkin <glarkin@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libdrizzle
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 6
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://launchpadlibrarian.net/41155299/ \
|
|
LOCAL/bdrewery/${PORTNAME}/
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= Client and protocol library for the Drizzle database
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
|
|
|
|
OPTIONS_DEFINE= DOXYGEN EXAMPLES
|
|
OPTIONS_SUB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake libtool pathfix
|
|
CONFIGURE_ARGS+=--enable-libsqlite3
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
SAMPLE_PROGS= client pipe_query proxy server simple \
|
|
simple_multi sqlite_server
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOXYGEN}
|
|
BUILD_DEPENDS+= doxygen>=0:devel/doxygen
|
|
ALL_TARGET= all doxygen
|
|
.endif
|
|
|
|
.if ${ARCH} == "i386"
|
|
CONFIGURE_ARGS+=--disable-64bit
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOXYGEN}
|
|
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
|
|
.for i in ${SAMPLE_PROGS}
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${i} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|