summaryrefslogtreecommitdiff
path: root/shells/wcd/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2015-05-29 20:34:46 +0000
committerPawel Pekala <pawel@FreeBSD.org>2015-05-29 20:34:46 +0000
commitb688c26f3a0396fc9afd390e5af7415b61b52316 (patch)
tree6637ae90a6568cc1addfe8d7429ae284211dfd50 /shells/wcd/Makefile
parent- Use @sample (diff)
Wcd is a command-line program to change directory fast. It saves time typing
at the keyboard. One needs to type only a part of a directory name and wcd will jump to it. Wcd has a fast selection method in case of multiple matches and allows aliasing and banning of directories. Wcd also includes a full screen interactive directory tree browser with speed search. WWW: http://wcd.sourceforge.net/
Notes
Notes: svn path=/head/; revision=387887
Diffstat (limited to 'shells/wcd/Makefile')
-rw-r--r--shells/wcd/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/shells/wcd/Makefile b/shells/wcd/Makefile
new file mode 100644
index 000000000000..605e73162039
--- /dev/null
+++ b/shells/wcd/Makefile
@@ -0,0 +1,38 @@
+# Created by: Pawel Pekala <pawel@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= wcd
+PORTVERSION= 5.2.7
+CATEGORIES= shells
+MASTER_SITES= SF
+
+MAINTAINER= pawel@FreeBSD.org
+COMMENT= Command-line program to change directory fast
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/doc/copying.txt
+
+USES= gmake
+MAKE_ARGS= EXT= PREFIX=${PREFIX} docsubdir=${PORTNAME} \
+ mandir=${PREFIX}/man
+
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MNLS}
+MAKE_ARGS+= ENABLE_NLS=
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/manfile/ s|datarootdir|prefix|' \
+ -e 's|/usr/local|${LOCALBASE}|' \
+ ${WRKSRC}/src/Makefile
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wcd
+
+.include <bsd.port.mk>