Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 02:53:03 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187054: sysutils/vils: Update MASTER_SITES and WWW: line
Message-ID:  <20140226025303.e582425f9cf092e10fca7594@yahoo.com>
Resent-Message-ID: <201402251810.s1PIA5QL042429@freefall.freebsd.org>

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

>Number:         187054
>Category:       ports
>Synopsis:       sysutils/vils: Update MASTER_SITES and WWW: line
>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 Feb 25 18:10:05 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Support shebangfix USES macro

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/vils/Makefile sysutils/vils/Makefile
--- /usr/ports/sysutils/vils/Makefile	2014-02-11 02:38:38.000000000 +0900
+++ sysutils/vils/Makefile	2014-02-26 00:00:00.000000000 +0900
@@ -3,29 +3,34 @@
 
 PORTNAME=	vils
 PORTVERSION=	20020228
+PORTREVISION=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.secnetix.de/~olli/scripts/
+MASTER_SITES=	http://www.secnetix.de/~olli/scripts/Generic-utilities/
 DISTFILES=	vils
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Use your favorite editor to rename files
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-10
+LICENSE=	BSD
 
-BUILD_DEPENDS=	zsh:${PORTSDIR}/shells/zsh
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+RUN_DEPENDS=	zsh:${PORTSDIR}/shells/zsh
 
-PLIST_FILES=	bin/${PORTNAME}
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
-do-extract:
-	${MKDIR} ${WRKDIR}
-	${CP} ${DISTDIR}/vils ${WRKDIR}/vils
+EXTRACT_CMD=	${CP}
+EXTRACT_BEFORE_ARGS=	-f
+EXTRACT_AFTER_ARGS=	${WRKDIR}
+
+USES=		shebangfix
+SHEBANG_FILES=	vils
+SHEBANG_LANG=	zsh
+zsh_OLD_CMD=	/bin/zsh
+zsh_CMD=	${LOCALBASE}/bin/zsh
 
-do-build:
-	@${REINPLACE_CMD} -e 's/\/bin\/zsh/\/usr\/local\/bin\/zsh/' ${WRKDIR}/vils
+PLIST_FILES=	bin/${PORTNAME}
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/vils ${STAGEDIR}${PREFIX}/bin
+	(cd ${WRKSRC} && ${INSTALL_SCRIPT} vils ${STAGEDIR}${PREFIX}/bin)
 
 .include <bsd.port.mk>
diff -urN /usr/ports/sysutils/vils/pkg-descr sysutils/vils/pkg-descr
--- /usr/ports/sysutils/vils/pkg-descr	2014-01-23 04:20:22.000000000 +0900
+++ sysutils/vils/pkg-descr	2014-02-26 00:00:00.000000000 +0900
@@ -1,6 +1,8 @@
-This little script enables you to ``edit an ls'', i.e. it will load a list of
-filenames into your favourite editor (presumably vi).  Any changes to the
-filenames will result in renaming the respective files. Read the comments in
-the script for details.
+This little script enables you to ``edit an ls'', i.e. it will load a
+list of filenames into your favourite editor (presumably vi). Any
+changes to the filenames will result in renaming the respective files.
+Read the comments in the script for details.
 
 BSD-style copyright and standard disclaimer applies.
+
+WWW: http://www.secnetix.de/~olli/
>Release-Note:
>Audit-Trail:
>Unformatted:



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