b688c26f3a
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/
38 lines
733 B
Makefile
38 lines
733 B
Makefile
# 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>
|