openbsd-ports/devel/mysql++/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2004/02/04 07:39:18 sturm Exp $
2001-06-03 01:32:16 -04:00
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++/
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-*
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
2004-01-02 00:11:08 -05:00
LIB_DEPENDS= lib/mysql/mysqlclient.10::databases/mysql
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
PKG_ARCH= *
.endif
2001-10-25 18:34:48 -04:00
NO_REGRESS= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/mysql++
post-extract:
2003-06-04 10:14:06 -04:00
@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>