ports/188646: [PATCH] databases/py-sybase: stage
Bartek Rutkowski
ports at robakdesign.com
Tue Apr 15 09:20:01 UTC 2014
>Number: 188646
>Category: ports
>Synopsis: [PATCH] databases/py-sybase: stage
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 15 09:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Bartek Rutkowski
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
Pixeware LTD
>Environment:
System: FreeBSD poudriere.ithil.palantiri.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r264341: Fri Apr 11 15:28:07 CEST
>Description:
- Stage
- Add LICENSE
- Pet portlint
http://poudriere.ithil.palantiri.org:8080/latest-per-pkg/py27-sybase/0.37_3/
Port maintainer (gnb at itga.com.au) is cc'd.
Generated with FreeBSD Port Tools 1.00.2014.03.23 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- py-sybase-0.37.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 351315)
+++ Makefile (working copy)
@@ -10,8 +10,10 @@
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-html${EXTRACT_SUFX}
MAINTAINER= gnb at itga.com.au
-COMMENT= A Python Database API interface to the Sybase RDBMS
+COMMENT= Python Database API interface to the Sybase RDBMS
+LICENSE= BSD
+
LIB_DEPENDS= libtds.so:${PORTSDIR}/databases/freetds
USE_PYTHON= yes
@@ -20,9 +22,9 @@
.if defined(TDS_VERSION)
TDS_SUF="=${TDS_VERSION}"
.else
-NO_STAGE= yes
+
pre-fetch:
- @V=`${PKG_INFO} | sed -ne 's/^freetds-0.\(..\).*/\1/p'` ; \
+ @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 @@
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>
Index: pkg-descr
===================================================================
--- pkg-descr (revision 351315)
+++ pkg-descr (working copy)
@@ -3,4 +3,4 @@
with extensions.
Author: Dave Cole <djc at object-craft.com.au>
-WWW: http://object-craft.com.au/projects/sybase/
+WWW: http://object-craft.com.au/projects/sybase/
--- py-sybase-0.37.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list