openbsd-ports/devel/mysql++/Makefile
2003-06-04 14:14:06 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2003/06/04 14:14:06 sturm 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
HOMEPAGE= http://www.mysql.com/downloads/api-mysql++.html
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# LPGL
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++/
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltmain_sh \
patch-*
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
LIB_DEPENDS= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
.endif
NO_REGRESS= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
post-extract:
@rm -rf ${WRKSRC}/sqlplusint/.deps
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>