Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2014 11:13:39 +0200 (CEST)
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnb@itga.com.au
Subject:   ports/188646: [PATCH] databases/py-sybase: stage
Message-ID:  <201404150913.s3F9DdIX015407@poudriere.ithil.palantiri.org>
Resent-Message-ID: <201404150920.s3F9K0E5092316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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:



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