1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/mysql++3/Makefile
Doug Barton 7ec3b1d0f5 Update to version 3.1.0
Submitted by:	maintainer
2011-08-02 20:54:43 +00:00

43 lines
1008 B
Makefile

# ports collection makefile for: MySQL++
# Date created: 2008-04-03
# Whom: Vlad GALU <dudu@dudu.ro>
#
# $FreeBSD$
#
PORTNAME= mysql++
PORTVERSION= 3.1.0
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
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --enable-thread-check
USE_LDCONFIG= yes
USE_GMAKE= yes
PLIST_SUB+= VER=${PORTVERSION}
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>