1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/shells/wcd/Makefile
2023-04-28 18:17:28 +02:00

36 lines
733 B
Makefile

PORTNAME= wcd
DISTVERSION= 6.0.5
CATEGORIES= shells
MASTER_SITES= SF
MAINTAINER= Clockwork6400@protonmail.com
COMMENT= Command-line program to change directory fast
WWW= http://wcd.sourceforge.net/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/copying.txt
USES= gmake ncurses
MAKE_ARGS= docsubdir=${PORTNAME} \
EXT= \
LIB_CURSES=-l${NCURSES_IMPL} \
mandir=${PREFIX}/man \
PREFIX=${PREFIX}
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 <bsd.port.mk>