2004-05-31 21:29:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libodbc++
|
2012-11-04 11:18:13 +00:00
|
|
|
PORTVERSION= 0.2.5
|
2014-05-05 16:24:00 +00:00
|
|
|
PORTREVISION= 1
|
2004-05-31 21:29:33 +00:00
|
|
|
CATEGORIES= databases devel
|
2009-08-22 00:18:43 +00:00
|
|
|
MASTER_SITES= SF/libodbcxx/libodbc%2B%2B/${PORTVERSION}
|
2004-05-31 21:29:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= A C++ class library and toolset for ODBC access to data sources
|
|
|
|
|
2012-11-04 11:18:13 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
|
|
|
|
|
2014-05-05 16:24:00 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
USES= gmake libtool pkgconfig tar:bzip2
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-05 16:24:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-31 21:29:33 +00:00
|
|
|
CONFIGURE_ARGS= --with-isqlxx
|
2006-11-12 14:53:27 +00:00
|
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
|
|
|
|
CXXFLAGS+= ${PTHREAD_CFLAGS}
|
2012-11-04 11:18:13 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-05-05 16:24:00 +00:00
|
|
|
INSTALL_TARGET= install-strip
|
2004-05-31 21:29:33 +00:00
|
|
|
|
2013-12-11 18:08:52 +00:00
|
|
|
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
2004-05-31 21:29:33 +00:00
|
|
|
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
|
|
|
|
|
2004-11-25 14:21:24 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
2012-11-04 11:18:13 +00:00
|
|
|
PORTDOCS= progref
|
2004-05-31 21:29:33 +00:00
|
|
|
|
2012-11-04 11:18:13 +00:00
|
|
|
post-extract:
|
|
|
|
${RM} -f ${WRKSRC}/doc/progref/progref-stamp
|
2009-04-07 23:07:10 +00:00
|
|
|
|
2004-05-31 21:29:33 +00:00
|
|
|
.include <bsd.port.mk>
|