Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/databases/unixODBC/Makefile 393429 2015-08-02 15:03:19Z tijl $ |
2 |
# $FreeBSD: head/databases/unixODBC/Makefile 393429 2015-08-02 15:03:19Z tijl $ |
3 |
|
3 |
|
4 |
PORTNAME= unixODBC |
4 |
PORTNAME= unixODBC |
5 |
PORTVERSION= 2.3.2 |
5 |
PORTVERSION= 2.3.3 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= databases |
6 |
CATEGORIES= databases |
8 |
MASTER_SITES= http://www.unixodbc.org/ |
7 |
MASTER_SITES= http://www.unixodbc.org/ |
9 |
|
8 |
|
Lines 13-38
Link Here
|
13 |
LICENSE= GPLv2 LGPL21 |
12 |
LICENSE= GPLv2 LGPL21 |
14 |
LICENSE_COMB= multi |
13 |
LICENSE_COMB= multi |
15 |
|
14 |
|
16 |
OPTIONS_DEFINE= DOCS |
15 |
# :keepla because port uses lt_dlopen |
17 |
|
16 |
USES= iconv libtool:keepla |
18 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ENV= ac_cv_header_msql_h=no |
18 |
CONFIGURE_ENV= ac_cv_header_msql_h=no |
20 |
CONFIGURE_ARGS= --enable-static --enable-shared \ |
19 |
CONFIGURE_ARGS= --enable-static --enable-shared \ |
21 |
${ICONV_CONFIGURE_ARG} |
20 |
${ICONV_CONFIGURE_ARG} |
22 |
INSTALL_TARGET= install-strip |
21 |
INSTALL_TARGET= install-strip |
23 |
# :keepla because port uses lt_dlopen |
|
|
24 |
USES= iconv libtool:keepla |
25 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
26 |
|
23 |
|
27 |
PORTDOCS= * |
24 |
PORTDOCS= * |
28 |
|
25 |
|
|
|
26 |
OPTIONS_DEFINE= DOCS |
27 |
|
29 |
post-patch: |
28 |
post-patch: |
30 |
@${REINPLACE_CMD} -e \ |
29 |
@${REINPLACE_CMD} -e \ |
31 |
'/\.ini/s|^|#|' ${WRKSRC}/Makefile.in |
30 |
's|\.ini$$|.ini.sample|' ${WRKSRC}/Makefile.in |
32 |
|
31 |
|
33 |
post-install: |
32 |
post-install: |
34 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
35 |
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
34 |
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ |
36 |
@${FIND} ${STAGEDIR}${DOCSDIR} -type f -name "*Makefile*" -delete |
35 |
"! -name Makefile.am -and ! -name Makefile.in -and \ |
|
|
36 |
! -name Makefile") |
37 |
|
37 |
|
38 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |