Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2017 23:45:12 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444526 - head/sysutils/amrstat
Message-ID:  <201706272345.v5RNjCld080800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Jun 27 23:45:12 2017
New Revision: 444526
URL: https://svnweb.freebsd.org/changeset/ports/444526

Log:
  OptionsNGfy.
  
  PR:		220220

Modified:
  head/sysutils/amrstat/Makefile

Modified: head/sysutils/amrstat/Makefile
==============================================================================
--- head/sysutils/amrstat/Makefile	Tue Jun 27 23:41:49 2017	(r444525)
+++ head/sysutils/amrstat/Makefile	Tue Jun 27 23:45:12 2017	(r444526)
@@ -17,17 +17,12 @@ PLIST_FILES=	etc/periodic/daily/407.status-amr-raid \
 OPTIONS_DEFINE=	MEGARC
 MEGARC_DESC=	Install LSI megarc binary port
 
-.include <bsd.port.options.mk>
-
 # We may want this for periodic script and to actually be able
 # to fix something in case amrstat reports degraded RAID.
-.if ${PORT_OPTIONS:MMEGARC}
-RUN_DEPENDS+=	${LOCALBASE}/sbin/megarc:sysutils/megarc
-.endif
+MEGARC_RUN_DEPENDS=	megarc:sysutils/megarc
 
 ALL_TARGET=	${PORTNAME}
 
-LOCALSRCDIR=	${.CURDIR}/files
 PERIODICSCRIPT=	407.status-amr-raid
 
 NO_WRKSUBDIR=	yes



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