2001-11-10 07:29:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2001/11/10 12:29:40 espie Exp $
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2001-06-03 01:32:16 -04:00
|
|
|
COMMENT= "C++ API for MySQL"
|
2001-06-05 08:30:02 -04:00
|
|
|
COMMENT-docs= "C++ API for MySQL documentation"
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2001-06-05 08:30:02 -04:00
|
|
|
VERSION= 1.7.9
|
|
|
|
DISTNAME= mysql++-${VERSION}
|
|
|
|
PKGNAME-docs= mysql++-docs-${VERSION}
|
2001-04-02 11:13:05 -04:00
|
|
|
CATEGORIES= devel
|
2001-10-25 18:34:48 -04:00
|
|
|
NEED_VERSION= 1.482
|
2001-04-02 11:13:05 -04:00
|
|
|
|
|
|
|
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++/
|
|
|
|
|
2001-10-31 06:59:50 -05:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.3-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
2001-08-24 06:51:28 -04:00
|
|
|
MULTI_PACKAGES= -docs
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2001-08-23 15:05:36 -04:00
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
2001-11-10 07:29:40 -05:00
|
|
|
LIB_DEPENDS= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
|
2001-08-23 15:05:36 -04:00
|
|
|
.endif
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-04-02 11:13:05 -04:00
|
|
|
USE_GMAKE= Yes
|
2001-08-23 15:00:04 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2001-06-05 08:30:02 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/man-html/* ${PREFIX}/share/doc/mysql++/html
|
|
|
|
|
2001-04-02 11:13:05 -04:00
|
|
|
.include <bsd.port.mk>
|