From owner-svn-ports-head@FreeBSD.ORG Tue Apr 15 15:54:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62CFA7A4; Tue, 15 Apr 2014 15:54:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 35B121B11; Tue, 15 Apr 2014 15:54:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3FFs0D7004996; Tue, 15 Apr 2014 15:54:00 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3FFrxDB004992; Tue, 15 Apr 2014 15:53:59 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201404151553.s3FFrxDB004992@svn.freebsd.org> From: Steve Wills Date: Tue, 15 Apr 2014 15:53:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351344 - head/databases/py-sybase X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 15:54:00 -0000 Author: swills Date: Tue Apr 15 15:53:59 2014 New Revision: 351344 URL: http://svnweb.freebsd.org/changeset/ports/351344 QAT: https://qat.redports.org/buildarchive/r351344/ Log: - Stage [1] - Add LICENSE [1] - Pet portlint [1] - Move freetds version check to pre-build to avoid issues when patching when freetds isn't installed PR: ports/188646 Submitted by: Bartek Rutkowski Approved by: portmgr@ (blanket) Modified: head/databases/py-sybase/Makefile head/databases/py-sybase/pkg-descr Modified: head/databases/py-sybase/Makefile ============================================================================== --- head/databases/py-sybase/Makefile Tue Apr 15 15:29:47 2014 (r351343) +++ head/databases/py-sybase/Makefile Tue Apr 15 15:53:59 2014 (r351344) @@ -3,14 +3,16 @@ PORTNAME= sybase PORTVERSION= 0.37 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= databases python MASTER_SITES= http://object-craft.com.au/projects/sybase/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-html${EXTRACT_SUFX} MAINTAINER= gnb@itga.com.au -COMMENT= A Python Database API interface to the Sybase RDBMS +COMMENT= Python Database API interface to the Sybase RDBMS + +LICENSE= BSD3CLAUSE LIB_DEPENDS= libtds.so:${PORTSDIR}/databases/freetds @@ -20,9 +22,9 @@ USE_PYDISTUTILS= yes .if defined(TDS_VERSION) TDS_SUF="=${TDS_VERSION}" .else -NO_STAGE= yes -pre-fetch: - @V=`${PKG_INFO} | sed -ne 's/^freetds-0.\(..\).*/\1/p'` ; \ + +pre-build: + @V=`${PKG_INFO} | ${SED} -ne 's/^freetds-0.\(..\).*/\1/p'` ; \ if [ $$V -le 60 ]; then \ ${ECHO_MSG} "Suggest you update your FreeTDS port to at least version 0.61" ; \ ${ECHO_MSG} "Otherwise, you will need to add TDS_VERSION=$$V to the Make command" ; \ @@ -45,9 +47,9 @@ do-build: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} ${DOCSDIR} - @${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} -xf - -C ${EXAMPLESDIR} - @${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xf - -C ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR} + @${TAR} -cf - -C ${WRKSRC}/examples . | ${TAR} -xf - -C ${STAGEDIR}${EXAMPLESDIR} + @${TAR} -cf - -C ${WRKDIR}/${PORTNAME} . | ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/databases/py-sybase/pkg-descr ============================================================================== --- head/databases/py-sybase/pkg-descr Tue Apr 15 15:29:47 2014 (r351343) +++ head/databases/py-sybase/pkg-descr Tue Apr 15 15:53:59 2014 (r351344) @@ -3,4 +3,4 @@ Sybase package supports all of the Pytho with extensions. Author: Dave Cole -WWW: http://object-craft.com.au/projects/sybase/ +WWW: http://object-craft.com.au/projects/sybase/