aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sybase
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-04-15 15:53:59 +0000
committerSteve Wills <swills@FreeBSD.org>2014-04-15 15:53:59 +0000
commit51a7646919879a9620a92a68b7dda7b5fefdddb3 (patch)
treeafd80e5982c9303d6485543aa42be1b6c71e6744 /databases/py-sybase
parentd157d78b69cf3d2bba031a9095ad78ac7b7b2fc4 (diff)
downloadports-51a7646919879a9620a92a68b7dda7b5fefdddb3.tar.gz
ports-51a7646919879a9620a92a68b7dda7b5fefdddb3.zip
Notes
Diffstat (limited to 'databases/py-sybase')
-rw-r--r--databases/py-sybase/Makefile18
-rw-r--r--databases/py-sybase/pkg-descr2
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/