1e474f48e1
"I haven't used any of those ports myself for a long time, so I think it's best you remove me as maintainer."
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.33 2012/12/13 16:34:48 naddy Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT-main = C++ API for MySQL
|
|
COMMENT-docs = C++ API for MySQL documentation
|
|
|
|
VERSION = 3.1.0
|
|
DISTNAME = mysql++-${VERSION}
|
|
PKGNAME-main = ${DISTNAME}
|
|
PKGNAME-docs = mysql++-docs-${VERSION}
|
|
REVISION-main = 0
|
|
REVISION-docs = 0
|
|
SHARED_LIBS += mysqlpp 4.0 # 3
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://tangentsoft.net/mysql++/
|
|
|
|
# LPGL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE}releases/
|
|
|
|
MULTI_PACKAGES = -main -docs
|
|
|
|
LIB_DEPENDS-main = databases/mysql
|
|
WANTLIB-main = m mysqlclient stdc++
|
|
PKG_ARCH-docs = *
|
|
|
|
NO_REGRESS = Yes
|
|
USE_GMAKE = Yes
|
|
AUTOCONF_VERSION = 2.59
|
|
CONFIGURE_STYLE = autoconf
|
|
|
|
# compile against real libmysqlpp version
|
|
MAKE_FLAGS= CXXFLAGS="${CXXFLAGS}" \
|
|
DLLIMP_SUFFIX=so.${LIBmysqlpp_VERSION} \
|
|
__mysqlpp___targetsuf2=.so.${LIBmysqlpp_VERSION} \
|
|
__mysqlpp___targetsuf3=.so.${LIBmysqlpp_VERSION} \
|
|
__mysqlpp___so_symlinks_cmd='' \
|
|
__mysqlpp___so_symlinks_inst_cmd=''
|
|
|
|
post-install:
|
|
.for dir in refman userman
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/html/${dir}/* ${PREFIX}/share/doc/mysql++/${dir}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|