freebsd-ports/shells/wcd/Makefile
Clockwork6400 2da24d36f2 shells/wcd: Update to 6.0.4
Submitter becomes maintainer.  Already maintainer of other ports.

Changelog: https://wcd.sourceforge.io/wcd/doc/whatsnew.txt

PR:		269943
2023-03-06 23:23:44 +01:00

35 lines
733 B
Makefile

PORTNAME= wcd
DISTVERSION= 6.0.4
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>