openbsd-ports/devel/mysql++/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.34 2013/01/11 13:11:23 ajacoutot Exp $
2005-10-07 09:21:27 -04:00
2009-03-31 07:37:20 -04:00
SHARED_ONLY = Yes
COMMENT = C++ API for MySQL
DISTNAME = mysql++-3.1.0
REVISION = 1
2009-03-31 07:37:20 -04:00
SHARED_LIBS += mysqlpp 4.0 # 3
2009-03-31 07:37:20 -04:00
CATEGORIES = devel
2009-03-31 07:37:20 -04:00
HOMEPAGE = http://tangentsoft.net/mysql++/
# LPGLv2.1
2009-03-31 07:37:20 -04:00
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
2009-03-31 07:37:20 -04:00
PERMIT_DISTFILES_FTP = Yes
WANTLIB += m mysqlclient stdc++
2001-10-31 06:59:50 -05:00
MASTER_SITES = ${HOMEPAGE}releases/
LIB_DEPENDS = databases/mysql
2009-03-31 07:37:20 -04:00
NO_REGRESS = 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:
2005-10-07 09:21:27 -04:00
.for dir in refman userman
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/
2009-03-31 07:37:20 -04:00
${INSTALL_DATA} ${WRKSRC}/doc/html/${dir}/* ${PREFIX}/share/doc/mysql++/${dir}/
2005-10-07 09:21:27 -04:00
.endfor
.include <bsd.port.mk>