2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2007/09/16 02:53:02 merdely Exp $
|
2005-10-07 09:21:27 -04:00
|
|
|
|
2006-11-25 19:40:28 -05:00
|
|
|
SHARED_ONLY= Yes
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= C++ API for MySQL
|
|
|
|
COMMENT-docs= C++ API for MySQL documentation
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2005-10-07 09:21:27 -04:00
|
|
|
VERSION= 2.0.6
|
2001-06-05 08:30:02 -04:00
|
|
|
DISTNAME= mysql++-${VERSION}
|
2006-11-25 19:40:28 -05:00
|
|
|
PKGNAME-main= ${DISTNAME}p3
|
2005-10-07 09:21:27 -04:00
|
|
|
PKGNAME-docs= mysql++-docs-${VERSION}
|
2006-11-25 19:40:28 -05:00
|
|
|
SHARED_LIBS += mysqlpp 3.0 # .2.6
|
2001-04-02 11:13:05 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2005-10-07 09:21:27 -04:00
|
|
|
HOMEPAGE= http://tangentsoft.net/mysql++/
|
2001-04-02 11:13:05 -04:00
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
2002-05-15 05:30:21 -04:00
|
|
|
# LPGL
|
2001-04-02 11:13:05 -04:00
|
|
|
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
|
|
|
|
2006-11-25 19:40:28 -05:00
|
|
|
MULTI_PACKAGES= -main -docs
|
2001-08-24 06:51:28 -04:00
|
|
|
|
2006-11-25 19:40:28 -05:00
|
|
|
LIB_DEPENDS-main= lib/mysql/mysqlclient.>=10::databases/mysql
|
|
|
|
WANTLIB-main= crypto m ssl z
|
|
|
|
PKG_ARCH-docs= *
|
2001-04-02 11:13:05 -04:00
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
NO_REGRESS= Yes
|
2006-01-07 12:58:49 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-08-23 15:00:04 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2002-08-10 16:07:02 -04:00
|
|
|
|
2001-06-05 08:30:02 -04:00
|
|
|
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
|
2001-06-05 08:30:02 -04:00
|
|
|
|
2001-04-02 11:13:05 -04:00
|
|
|
.include <bsd.port.mk>
|