mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
5fff0466bb
PR: 227815 Submitted by: <dewayne heuristicsystems com au>
38 lines
841 B
Makefile
38 lines
841 B
Makefile
# Created by: Nick Sayer <nsayer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= unixODBC
|
|
PORTVERSION= 2.3.6
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.unixodbc.org/ \
|
|
ftp://ftp.unixodbc.org/pub/unixODBC/
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= ODBC library suite for Unix
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_header_msql_h=no
|
|
CONFIGURE_ARGS= --enable-static --enable-shared \
|
|
${ICONV_CONFIGURE_ARG}
|
|
INSTALL_TARGET= install-strip
|
|
# :keepla because port uses lt_dlopen
|
|
USES= iconv libtool:keepla
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\.ini$$|.ini.sample|' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
|
|
"-not -name 'Makefile*'"
|
|
|
|
.include <bsd.port.mk>
|