svn commit: r408222 - head/japanese/jls

John Marino marino at FreeBSD.org
Fri Feb 5 16:41:01 UTC 2016


Author: marino
Date: Fri Feb  5 16:41:00 2016
New Revision: 408222
URL: https://svnweb.freebsd.org/changeset/ports/408222

Log:
  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

Modified:
  head/japanese/jls/Makefile

Modified: head/japanese/jls/Makefile
==============================================================================
--- head/japanese/jls/Makefile	Fri Feb  5 16:39:08 2016	(r408221)
+++ head/japanese/jls/Makefile	Fri Feb  5 16:41:00 2016	(r408222)
@@ -15,14 +15,17 @@ MAINTAINER=	kazami at 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>


More information about the svn-ports-all mailing list