ports/141728: [PATCH] shells/zsh: MASTER_SITES and portlint fixes

Jimmy Olgeni olgeni at FreeBSD.org
Fri Dec 18 00:10:06 UTC 2009


>Number:         141728
>Category:       ports
>Synopsis:       [PATCH] shells/zsh: MASTER_SITES and portlint fixes
>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:   Fri Dec 18 00:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 8.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD olgeni 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Mon Nov 23 12:26:14 CET 2009
>Description:
A couple of fixes:

* Fetch documentation from the zsh-doc-dev sourceforge project.
Currently the sourceforge docs download fails and the tarball is
only retrieved from the FreeBSD distfiles mirror.

* Make portlint happy by using ${ECHO}, and TABs in assignments.

Port maintainer (des at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- zsh-4.3.10_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/shells/zsh/Makefile,v
retrieving revision 1.117
diff -u -u -r1.117 Makefile
--- Makefile	22 Aug 2009 00:35:10 -0000	1.117
+++ Makefile	17 Dec 2009 23:46:07 -0000
@@ -9,9 +9,10 @@
 PORTVERSION=	4.3.10
 PORTREVISION=	2
 CATEGORIES=	shells
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION}:src \
+		SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc
 .if !defined(NOPORTDOCS)
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-doc${EXTRACT_SUFX}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:src ${DISTNAME}-doc${EXTRACT_SUFX}:doc
 .endif
 
 MAINTAINER=	des at FreeBSD.org
@@ -33,8 +34,8 @@
 		--enable-function-subdirs
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-bsdtar
-EXTRA_COMPLETION_FILES= _fstat _procstat _sockstat
-EXTRA_COMPLETION_DIR= Completion/BSD/Command
+EXTRA_COMPLETION_FILES=	_fstat _procstat _sockstat
+EXTRA_COMPLETION_DIR=	Completion/BSD/Command
 
 OPTIONS=	ZSH_GDBM	"Enable GDBM support (GPL)" off \
 		ZSH_MEM		"Enable zsh-mem and zsh-secure-free options" on \
@@ -103,13 +104,13 @@
 	@${SED} -i "" -e "s,/etc/,${LOCALBASE}/etc/," \
 		${WRKSRC}/Functions/MIME/zsh-mime-setup
 .ifdef EXTRA_COMPLETION_FILES
-	@echo "===>  Installing extra completion files"
+	@${ECHO} "===>  Installing extra completion files"
 .for COMPFILE in ${EXTRA_COMPLETION_FILES}
 	@(if [ -f ${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ] ; then \
-		echo "${EXTRA_COMPLETION_DIR}/${COMPFILE} already exists" ; \
+		${ECHO} "${EXTRA_COMPLETION_DIR}/${COMPFILE} already exists" ; \
 		exit 1 ; \
 	else \
-		echo ${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
+		${ECHO} ${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
 		${CP} ${FILESDIR}/${COMPFILE} \
 			${WRKSRC}/${EXTRA_COMPLETION_DIR}/${COMPFILE} ; \
 	fi)
--- zsh-4.3.10_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list