mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
4b856bf8d4
With hat: portmgr
35 lines
706 B
Makefile
35 lines
706 B
Makefile
# Created by: Pawel Pekala <pawel@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wcd
|
|
PORTVERSION= 6.0.1
|
|
CATEGORIES= shells
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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>
|