- 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:
Sunpoet Po-Chuan Hsieh 2013-11-05 17:56:00 +00:00
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

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= DBD-ODBC
PORTVERSION= 1.43
PORTVERSION= 1.45
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MJEVANS
@ -28,19 +28,20 @@ CONFIGURE_ARGS= -o ${LOCALBASE}
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>
.if empty(PORT_OPTIONS:MODBC)
.if !${PORT_OPTIONS:MODBC}
IGNORE= an ODBC driver (iODBC or unixODBC) is required
.endif
.if ${PORT_OPTIONS:MIODBC}
LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc
MYODBC= iodbc
.endif
.if ${PORT_OPTIONS:MUNIXODBC}
LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC
MYODBC= unixodbc
.endif
@ -60,6 +61,7 @@ post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.post.mk>

View file

@ -1,2 +1,2 @@
SHA256 (DBD-ODBC-1.43.tar.gz) = cf92fe818ca59b3a9db2ca473d725d6ee36019940980c0559753f93b6258aac2
SIZE (DBD-ODBC-1.43.tar.gz) = 268239
SHA256 (DBD-ODBC-1.45.tar.gz) = 695bb83c162370a7df80386d7a3da188e9b20f87b5a00f22932fcc16fd51978a
SIZE (DBD-ODBC-1.45.tar.gz) = 271570