mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
77bc22afb0
- Update to 2.3.2 - Add LICENSE - Add DOCS option - Allow staging PR: ports/183568 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
42 lines
840 B
Makefile
42 lines
840 B
Makefile
# Created by: Nick Sayer <nsayer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= unixODBC
|
|
PORTVERSION= 2.3.2
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.unixodbc.org/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= ODBC library suite for Unix
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CONFLICTS= libiodbc-[0-9]*
|
|
|
|
USES= iconv
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_header_msql_h=no
|
|
CONFIGURE_ARGS= --enable-static --enable-shared \
|
|
${ICONV_CONFIGURE_ARG}
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/\.ini/s|^|#|' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -name "*Makefile*" -delete
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|