Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2017 22:25:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443481 - head/security/osiris
Message-ID:  <201706122225.v5CMPiBW026303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jun 12 22:25:44 2017
New Revision: 443481
URL: https://svnweb.freebsd.org/changeset/ports/443481

Log:
  Use USES=readline:port
  
  - Use MAKE_CMD instead of MAKE
  - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk

Modified:
  head/security/osiris/Makefile

Modified: head/security/osiris/Makefile
==============================================================================
--- head/security/osiris/Makefile	Mon Jun 12 22:25:39 2017	(r443480)
+++ head/security/osiris/Makefile	Mon Jun 12 22:25:44 2017	(r443481)
@@ -22,14 +22,12 @@ OSIRISD_DESC=	Scan agent
 PRINTDB_DESC=	Database print tool
 CLI_DESC=	Management CLI
 
-.include <bsd.port.pre.mk>
-
 .if exists(${LOCALBASE}/lib/libreadline.so.6)
-LIB_DEPENDS+=	libreadline.so.6:devel/readline
+USES+=		readline:port
 .endif
 
 post-build-PRINTDB-on:
-	cd ${WRKSRC}/src/tools && ${MAKE}
+	cd ${WRKSRC}/src/tools && ${MAKE_CMD}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/osiris
@@ -66,4 +64,4 @@ do-install-OSIRISMD-on:
 	${INSTALL_SCRIPT} ${WRKSRC}/src/install/freebsd/osirismd.sh \
 		${STAGEDIR}${PREFIX}/etc/rc.d
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706122225.v5CMPiBW026303>