openbsd-ports/devel/mysql++/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

2006-08-01 19:39:08 -04:00
# $OpenBSD: Makefile,v 1.23 2006/08/01 23:39:08 espie Exp $
2005-10-07 09:21:27 -04:00
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
2001-06-03 01:32:16 -04:00
COMMENT= "C++ API for MySQL"
COMMENT-docs= "C++ API for MySQL documentation"
2005-10-07 09:21:27 -04:00
VERSION= 2.0.6
DISTNAME= mysql++-${VERSION}
2006-02-10 17:12:52 -05:00
PKGNAME= ${DISTNAME}p2
2005-10-07 09:21:27 -04:00
PKGNAME-docs= mysql++-docs-${VERSION}
SHARED_LIBS= mysqlpp 3.0
CATEGORIES= devel
2005-10-07 09:21:27 -04:00
HOMEPAGE= http://tangentsoft.net/mysql++/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# LPGL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2005-10-07 09:21:27 -04:00
MASTER_SITES= ${HOMEPAGE}releases/
2001-10-31 06:59:50 -05:00
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
2006-08-01 19:39:08 -04:00
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
2006-02-10 17:12:52 -05:00
WANTLIB= crypto m ssl z
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
PKG_ARCH= *
.endif
2001-10-25 18:34:48 -04:00
NO_REGRESS= Yes
2006-01-07 12:58:49 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
post-install:
2005-10-07 09:21:27 -04:00
.for dir in refman userman
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/
${INSTALL_DATA} ${WRKSRC}/doc/${dir}/html/* ${PREFIX}/share/doc/mysql++/${dir}/
.endfor
.include <bsd.port.mk>