freebsd-ports/databases/mysql++3/Makefile
Ion-Mihai Tetcu 21d3c3e73f MySQL++ is a C++ wrapper for MySQL's C API.
It is built around STL principles, to make dealing with
the database as easy as dealing with an STL container.

This port contains the version 3 of the library; see databases/mysql++ and
databases/mysql++1 for the older versions.

WWW: http://tangentsoft.net/mysql++/
2008-04-05 11:54:42 +00:00

42 lines
1 KiB
Makefile

# ports collection makefile for: MySQL++
# Date created: 2008-04-03
# Whom: Vlad GALU <dudu@dudu.ro>
#
# $FreeBSD$
#
PORTNAME= mysql++
PORTVERSION= 3.0.1
CATEGORIES= databases devel
MASTER_SITES= http://tangentsoft.net/mysql++/releases/ \
T32.TecNik93.com/ports/others_ports/${PORTNAME}/sources/
PKGNAMESUFFIX= -mysql${MYSQL_VER}
MAINTAINER= dudu@dudu.ro
COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --enable-thread-check
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GMAKE= yes
CONFLICTS= ${PORTNAME}*-1.*
PORTDOCS= *
PORTEXAMPLES= *
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${DOCSDIR})
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} html ${DOCSDIR})
.endif
.ifndef(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.h ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>