Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 17:56:01 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332880 - head/databases/p5-DBD-ODBC
Message-ID:  <201311051756.rA5Hu17Y074089@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Nov  5 17:56:00 2013
New Revision: 332880
URL: http://svnweb.freebsd.org/changeset/ports/332880

Log:
  - Update to 1.45
  - Convert to new options helper
  - Support STAGEDIR
  
  Changes:	http://search.cpan.org/dist/DBD-ODBC/Changes

Modified:
  head/databases/p5-DBD-ODBC/Makefile
  head/databases/p5-DBD-ODBC/distinfo   (contents, props changed)
Directory Properties:
  head/databases/p5-DBD-ODBC/pkg-plist   (props changed)

Modified: head/databases/p5-DBD-ODBC/Makefile
==============================================================================
--- head/databases/p5-DBD-ODBC/Makefile	Tue Nov  5 17:55:56 2013	(r332879)
+++ head/databases/p5-DBD-ODBC/Makefile	Tue Nov  5 17:56:00 2013	(r332880)
@@ -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>

Modified: head/databases/p5-DBD-ODBC/distinfo
==============================================================================
--- head/databases/p5-DBD-ODBC/distinfo	Tue Nov  5 17:55:56 2013	(r332879)
+++ head/databases/p5-DBD-ODBC/distinfo	Tue Nov  5 17:56:00 2013	(r332880)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311051756.rA5Hu17Y074089>