1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/databases/mysql++3/Makefile
Dmitry Marakasov a5cf958603 - Drop USE_AUTOTOOLS=libtool, libtool is not used
Approved by:	portmgr blanket
2014-08-25 22:53:44 +00:00

38 lines
984 B
Makefile

# Created by: Vlad GALU <dudu@dudu.ro>
# $FreeBSD$
PORTNAME= mysql++
PORTVERSION= 3.1.0
PORTREVISION= 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}
USES= gmake
USE_MYSQL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --enable-thread-check
USE_LDCONFIG= yes
PLIST_SUB+= VER=${PORTVERSION}
CONFLICTS= ${PORTNAME}*-1.*
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.h ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>