freebsd-ports/shells/wcd/Makefile
Danilo G. Baio d5ec780db0 shells/wcd: Update to 6.0.2
Pass MAINTAINER'ship to submitter.

PR:		230519
Submitted by:	Nathan <ndowens@yahoo.com>
2018-08-11 18:04:44 +00:00

34 lines
706 B
Makefile

# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= wcd
PORTVERSION= 6.0.2
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
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>