jasper e0d4601ae6 - update to mysql++-3.2.3
- switch HOMEPAGE to https
- stop building examples that weren't installed (fixes build with clang6; from freebsd)
2018-04-11 18:47:26 +00:00

44 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.47 2018/04/11 18:47:26 jasper Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS} ${CLANG_ARCHS}
COMMENT = C++ API for MySQL
DISTNAME = mysql++-3.2.3
SHARED_LIBS += mysqlpp 5.0 # 3
CATEGORIES = devel
HOMEPAGE = https://tangentsoft.net/mysql++/
# LPGLv2.1
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += m mysqlclient ${COMPILER_LIBCXX}
MASTER_SITES = https://tangentsoft.com/mysqlpp/releases/
LIB_DEPENDS = databases/mariadb
NO_TEST = Yes
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = autoconf
# compile against real libmysqlpp version
MAKE_FLAGS= CXXFLAGS="${CXXFLAGS}" \
DLLIMP_SUFFIX=so.${LIBmysqlpp_VERSION} \
__mysqlpp___targetsuf2=.so.${LIBmysqlpp_VERSION} \
__mysqlpp___targetsuf3=.so.${LIBmysqlpp_VERSION} \
__mysqlpp___so_symlinks_cmd='' \
__mysqlpp___so_symlinks_inst_cmd=''
post-install:
.for dir in refman userman
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/
${INSTALL_DATA} ${WRKSRC}/doc/html/${dir}/* ${PREFIX}/share/doc/mysql++/${dir}/
.endfor
.include <bsd.port.mk>