aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-06 00:41:00 +0800
committermarino <marino@FreeBSD.org>2016-02-06 00:41:00 +0800
commit6f1db72f74f54b9a4f8bf1d8eea3733e3cb70a2a (patch)
treeefb3cc29ee156e91abd2d45a761150d3ce77a7a2 /japanese
parent7cceaac9b636dae8d27c28af2738dff17215cfb1 (diff)
downloadfreebsd-ports-gnome-6f1db72f74f54b9a4f8bf1d8eea3733e3cb70a2a.tar.gz
freebsd-ports-gnome-6f1db72f74f54b9a4f8bf1d8eea3733e3cb70a2a.tar.zst
freebsd-ports-gnome-6f1db72f74f54b9a4f8bf1d8eea3733e3cb70a2a.zip
japanese/jls: document ncurses requirement (USES+=ncurses)
Also link with libncurses, not libtermap. While here, join compound command with "&&" and wrap in parentheses. approved by: infrastructure blanket
Diffstat (limited to 'japanese')
-rw-r--r--japanese/jls/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/jls/Makefile b/japanese/jls/Makefile
index 682c8fa67582..bd7e5b10b3d0 100644
--- a/japanese/jls/Makefile
+++ b/japanese/jls/Makefile
@@ -15,14 +15,17 @@ MAINTAINER= kazami@angels.vg
COMMENT= Japanized ls
CONFLICTS= sleuthkit-[0-9]*
-USES= uidfix
+USES= ncurses uidfix
PLIST_FILES= bin/jls \
man/man1/jls.1.gz
WRKSRC= ${WRKDIR}/ls
pre-patch:
- cd ${WRKSRC}; ${MV} ls.1 jls.1
+ (cd ${WRKSRC} && ${MV} ls.1 jls.1)
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|g' ${WRKSRC}/Makefile
+
.include <bsd.port.mk>