# Created by: Pawel Pekala # $FreeBSD: head/shells/wcd/Makefile 521009 2019-12-27 16:32:49Z bapt $ PORTNAME= wcd PORTVERSION= 6.0.3 CATEGORIES= shells MASTER_SITES= SF MAINTAINER= ndowens@yahoo.com COMMENT= Command-line program to change directory fast LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/copying.txt USES= gmake ncurses MAKE_ARGS= EXT= PREFIX=${PREFIX} docsubdir=${PORTNAME} \ mandir=${PREFIX}/man LIB_CURSES=-l${NCURSES_IMPL} CFLAGS+= -I${NCURSESINC} OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_MAKE_ARGS_OFF= ENABLE_NLS= 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