freebsd-ports/databases/libodbc++/Makefile
John Marino 618237ab90 x11/xterm: document ncurses requirement (USES+=ncurses)
Also link with ncurses, not termcap

approved by:	infrastructure blanket
2016-02-08 19:37:32 +00:00

36 lines
834 B
Makefile

# $FreeBSD$
PORTNAME= libodbc++
PORTVERSION= 0.2.5
PORTREVISION= 1
CATEGORIES= databases devel
MASTER_SITES= SF/libodbcxx/libodbc%2B%2B/${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= C++ class library and toolset for ODBC access to data sources
LICENSE= GPLv2
BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen
OPTIONS_DEFINE= DOCS
USES= gmake libtool ncurses pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-isqlxx
INSTALL_TARGET= install-strip
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS+= --with-odbc=${LOCALBASE}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= progref
post-extract:
${RM} -f ${WRKSRC}/doc/progref/progref-stamp
post-patch:
@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure
.include <bsd.port.mk>