diff options
author | swills <swills@FreeBSD.org> | 2014-04-15 23:53:59 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-04-15 23:53:59 +0800 |
commit | 9293ad0553fb439bc95bd37d32d6e974c676bf54 (patch) | |
tree | afd80e5982c9303d6485543aa42be1b6c71e6744 /databases | |
parent | 1888ac0faa1a902e7c6bc4850bde8576fa50657f (diff) | |
download | freebsd-ports-gnome-9293ad0553fb439bc95bd37d32d6e974c676bf54.tar.gz freebsd-ports-gnome-9293ad0553fb439bc95bd37d32d6e974c676bf54.tar.zst freebsd-ports-gnome-9293ad0553fb439bc95bd37d32d6e974c676bf54.zip |
- 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 <ports@robakdesign.com>
Approved by: portmgr@ (blanket)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-sybase/Makefile | 18 | ||||
-rw-r--r-- | databases/py-sybase/pkg-descr | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/databases/py-sybase/Makefile b/databases/py-sybase/Makefile index 14915980734c..639dde9b4140 100644 --- a/databases/py-sybase/Makefile +++ b/databases/py-sybase/Makefile @@ -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 <bsd.port.mk> diff --git a/databases/py-sybase/pkg-descr b/databases/py-sybase/pkg-descr index 420082a44fea..941e550511c6 100644 --- a/databases/py-sybase/pkg-descr +++ b/databases/py-sybase/pkg-descr @@ -3,4 +3,4 @@ Sybase package supports all of the Python Database API, version 2.0 with extensions. Author: Dave Cole <djc@object-craft.com.au> -WWW: http://object-craft.com.au/projects/sybase/ +WWW: http://object-craft.com.au/projects/sybase/ |