openbsd-ports/devel/mysql++/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

2009-03-31 07:37:20 -04:00
# $OpenBSD: Makefile,v 1.26 2009/03/31 11:37:20 wilfried Exp $
2005-10-07 09:21:27 -04:00
2009-03-31 07:37:20 -04:00
SHARED_ONLY = Yes
2009-03-31 07:37:20 -04:00
COMMENT-main = C++ API for MySQL
COMMENT-docs = C++ API for MySQL documentation
2009-03-31 07:37:20 -04:00
VERSION = 3.0.9
DISTNAME = mysql++-${VERSION}
PKGNAME-main = ${DISTNAME}
PKGNAME-docs = mysql++-docs-${VERSION}
SHARED_LIBS += mysqlpp 4.0 # 3
CATEGORIES = devel
2009-03-31 07:37:20 -04:00
HOMEPAGE = http://tangentsoft.net/mysql++/
2009-03-31 07:37:20 -04:00
MAINTAINER = Peter Stromberg <wilfried@openbsd.org>
# 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
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
2009-03-31 07:37:20 -04:00
LIB_DEPENDS-main = mysqlclient::databases/mysql
WANTLIB-main = m
PKG_ARCH-docs = *
2009-03-31 07:37:20 -04:00
NO_REGRESS = Yes
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = autoconf
post-install:
2009-03-31 07:37:20 -04:00
@mv ${PREFIX}/lib/libmysqlpp.so.${VERSION} ${PREFIX}/lib/libmysqlpp.so.${LIBmysqlpp_VERSION}
@rm -f ${PREFIX}/lib/libmysqlpp.so.3
@rm -f ${PREFIX}/lib/libmysqlpp.so
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>