aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 17:03:51 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 17:03:51 +0800
commit9acb60f6b201664244b364a6ad31bf3f53df7c7a (patch)
treee557a58ff57a669e404e390d7552eb4ab44a7eb3
parent4d2f810b1cfcddc43854456ec43d251f16528d81 (diff)
downloadfreebsd-ports-gnome-9acb60f6b201664244b364a6ad31bf3f53df7c7a.tar.gz
freebsd-ports-gnome-9acb60f6b201664244b364a6ad31bf3f53df7c7a.tar.zst
freebsd-ports-gnome-9acb60f6b201664244b364a6ad31bf3f53df7c7a.zip
- Update MASTER_SITES and WWW: line
- Add LICENSE - Support shebangfix USES macro PR: 187054
-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/