2010-12-05 13:24:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2010/12/05 18:24:33 jasper Exp $
|
2005-10-07 09:21:27 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
SHARED_ONLY = Yes
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
COMMENT-main = C++ API for MySQL
|
|
|
|
COMMENT-docs = C++ API for MySQL documentation
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
VERSION = 3.0.9
|
|
|
|
DISTNAME = mysql++-${VERSION}
|
2010-12-05 13:24:33 -05:00
|
|
|
PKGNAME-main = ${DISTNAME}
|
|
|
|
REVISION-main = 0
|
2009-03-31 07:37:20 -04:00
|
|
|
PKGNAME-docs = mysql++-docs-${VERSION}
|
|
|
|
SHARED_LIBS += mysqlpp 4.0 # 3
|
|
|
|
CATEGORIES = devel
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
HOMEPAGE = http://tangentsoft.net/mysql++/
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
MAINTAINER = Peter Stromberg <wilfried@openbsd.org>
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2002-05-15 05:30:21 -04:00
|
|
|
# LPGL
|
2009-03-31 07:37:20 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}releases/
|
2001-10-31 06:59:50 -05:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
MULTI_PACKAGES = -main -docs
|
2001-08-24 06:51:28 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS-main = databases/mysql
|
2010-11-08 05:28:22 -05:00
|
|
|
WANTLIB-main = m mysqlclient
|
2009-03-31 07:37:20 -04:00
|
|
|
PKG_ARCH-docs = *
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2009-03-31 07:37:20 -04:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
AUTOCONF_VERSION = 2.59
|
|
|
|
CONFIGURE_STYLE = autoconf
|
2002-08-10 16:07:02 -04:00
|
|
|
|
2009-11-13 15:41:43 -05:00
|
|
|
# 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=''
|
|
|
|
|
2001-06-05 08:30:02 -04:00
|
|
|
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
|
2001-06-05 08:30:02 -04:00
|
|
|
|
2001-04-02 11:13:05 -04:00
|
|
|
.include <bsd.port.mk>
|