aboutsummaryrefslogtreecommitdiff
path: root/databases/libdrizzle
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 00:04:16 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-04-10 00:04:16 +0000
commite3b5cbc4c58ad938a5ae6b8f1e3d2dcf98741798 (patch)
tree728594b3820a1b3155f3750dd75ee9e822fb391f /databases/libdrizzle
parent6ba19179f0b45e57f7f0d86520959c5526e01e05 (diff)
downloadports-e3b5cbc4c58ad938a5ae6b8f1e3d2dcf98741798.tar.gz
ports-e3b5cbc4c58ad938a5ae6b8f1e3d2dcf98741798.zip
Notes
Diffstat (limited to 'databases/libdrizzle')
-rw-r--r--databases/libdrizzle/Makefile33
-rw-r--r--databases/libdrizzle/pkg-descr2
2 files changed, 18 insertions, 17 deletions
diff --git a/databases/libdrizzle/Makefile b/databases/libdrizzle/Makefile
index e9df7656cfc4..e59ce8a23bdc 100644
--- a/databases/libdrizzle/Makefile
+++ b/databases/libdrizzle/Makefile
@@ -6,48 +6,49 @@ PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://launchpadlibrarian.net/41155299/ \
- LOCAL/glarkin
+ LOCAL/bdrewery/${PORTNAME}/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Client and protocol library for the Drizzle database
+LICENSE= BSD3CLAUSE
+
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
OPTIONS_DEFINE= DOXYGEN EXAMPLES
GNU_CONFIGURE= yes
+USES= gmake
CONFIGURE_ARGS+=--enable-libsqlite3
-USE_GMAKE= yes
USE_LDCONFIG= yes
SAMPLE_PROGS= client pipe_query proxy server simple \
simple_multi sqlite_server
-NO_STAGE= yes
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEB}
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
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
+.if ${ARCH} == "i386"
+CONFIGURE_ARGS+=--disable-64bit
+.endif
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+.endif
.if ${PORT_OPTIONS:MEXAMPLES}
-post-install::
- @${INSTALL} -d ${EXAMPLESDIR}
+ @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
.for i in ${SAMPLE_PROGS}
- @${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${i} ${EXAMPLESDIR}
+ @${INSTALL_PROGRAM} ${WRKSRC}/examples/.libs/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
-.if ${ARCH} == "i386"
-CONFIGURE_ARGS+=--disable-64bit
-.endif
-
.include <bsd.port.mk>
diff --git a/databases/libdrizzle/pkg-descr b/databases/libdrizzle/pkg-descr
index 555bce3de1d3..9b847cd0471c 100644
--- a/databases/libdrizzle/pkg-descr
+++ b/databases/libdrizzle/pkg-descr
@@ -5,4 +5,4 @@ communication (like proxies). Other language interfaces (PHP
extensions, Python DBI, Perl DBD, SWIG, ...) should be built off
of this library.
-WWW: https://launchpad.net/libdrizzle
+WWW: https://launchpad.net/libdrizzle