- Update to 1.45
- Convert to new options helper - Support STAGEDIR Changes: http://search.cpan.org/dist/DBD-ODBC/Changes
This commit is contained in:
parent
134ed4defb
commit
5d0c37d553
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332880
2 changed files with 8 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= DBD-ODBC
|
PORTNAME= DBD-ODBC
|
||||||
PORTVERSION= 1.43
|
PORTVERSION= 1.45
|
||||||
CATEGORIES= databases perl5
|
CATEGORIES= databases perl5
|
||||||
MASTER_SITES= CPAN
|
MASTER_SITES= CPAN
|
||||||
MASTER_SITE_SUBDIR= CPAN:MJEVANS
|
MASTER_SITE_SUBDIR= CPAN:MJEVANS
|
||||||
|
@ -28,19 +28,20 @@ CONFIGURE_ARGS= -o ${LOCALBASE}
|
||||||
|
|
||||||
PORTDOCS= Changes README README.adabas README.informix
|
PORTDOCS= Changes README README.adabas README.informix
|
||||||
|
|
||||||
|
IODBC_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
|
||||||
|
UNIXODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if empty(PORT_OPTIONS:MODBC)
|
.if !${PORT_OPTIONS:MODBC}
|
||||||
IGNORE= an ODBC driver (iODBC or unixODBC) is required
|
IGNORE= an ODBC driver (iODBC or unixODBC) is required
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MIODBC}
|
.if ${PORT_OPTIONS:MIODBC}
|
||||||
LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
|
|
||||||
MYODBC= iodbc
|
MYODBC= iodbc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MUNIXODBC}
|
.if ${PORT_OPTIONS:MUNIXODBC}
|
||||||
LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
|
|
||||||
MYODBC= unixodbc
|
MYODBC= unixodbc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -60,6 +61,7 @@ post-install:
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||||
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (DBD-ODBC-1.43.tar.gz) = cf92fe818ca59b3a9db2ca473d725d6ee36019940980c0559753f93b6258aac2
|
SHA256 (DBD-ODBC-1.45.tar.gz) = 695bb83c162370a7df80386d7a3da188e9b20f87b5a00f22932fcc16fd51978a
|
||||||
SIZE (DBD-ODBC-1.43.tar.gz) = 268239
|
SIZE (DBD-ODBC-1.45.tar.gz) = 271570
|
||||||
|
|
Loading…
Reference in a new issue