openbsd-ports/devel/mysql++/Makefile
wilfried 2ba17cf83f upgrade to 1.7.9
- Fixed a serious bug in Connection constructor when reading MySQL options
- Improved copy constructor and some other methods in Result / ResUse
- Many other minor improvements
- Produced a complete manual with chapter 5 included
- Updated documentation, including a Postscript format

add a -docs sub-package
2001-06-05 12:30:02 +00:00

41 lines
1015 B
Makefile

# $OpenBSD: Makefile,v 1.3 2001/06/05 12:30:02 wilfried Exp $
COMMENT= "C++ API for MySQL"
COMMENT-docs= "C++ API for MySQL documentation"
VERSION= 1.7.9
DISTNAME= mysql++-${VERSION}
PKGNAME-docs= mysql++-docs-${VERSION}
CATEGORIES= devel
NEED_VERSION= 1.402
HOMEPAGE= http://www.mysql.com/downloads/api-mysql++.html
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/mysql++/ \
ftp://ftp.mysql.com/mysql++/
BUILD_DEPENDS= automake::devel/automake
LIB_DEPENDS= mysqlclient.10:mysql-client-3.23.*:databases/mysql
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu autoconf
MULTI_PACKAGES= -docs
SUBPACKAGE?=
pre-configure:
@cd ${WRKSRC} && automake -a
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/html
${INSTALL_DATA} ${WRKSRC}/doc/man-html/* ${PREFIX}/share/doc/mysql++/html
.include <bsd.port.mk>