aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-27 09:03:51 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-27 09:03:51 +0000
commit8ecf60982ced5a0790de96a886d0cde276d6605f (patch)
treee557a58ff57a669e404e390d7552eb4ab44a7eb3 /sysutils
parent18593b07e59817e39e4be1bf200d20218591e51a (diff)
downloadports-8ecf60982ced5a0790de96a886d0cde276d6605f.tar.gz
ports-8ecf60982ced5a0790de96a886d0cde276d6605f.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/vils/Makefile29
-rw-r--r--sysutils/vils/pkg-descr10
2 files changed, 23 insertions, 16 deletions
diff --git a/sysutils/vils/Makefile b/sysutils/vils/Makefile
index a1f58beaf0b1..08d4102cd5c0 100644
--- a/sysutils/vils/Makefile
+++ b/sysutils/vils/Makefile
@@ -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
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= -f
+EXTRACT_AFTER_ARGS= ${WRKDIR}
-do-extract:
- ${MKDIR} ${WRKDIR}
- ${CP} ${DISTDIR}/vils ${WRKDIR}/vils
+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 --git a/sysutils/vils/pkg-descr b/sysutils/vils/pkg-descr
index 34c34a931ea2..30c8aae12dbd 100644
--- a/sysutils/vils/pkg-descr
+++ b/sysutils/vils/pkg-descr
@@ -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/