aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-06-05 02:09:14 +0800
committerjkim <jkim@FreeBSD.org>2012-06-05 02:09:14 +0800
commitdb913d4d8d7fcbdb1fae7188bad8242159817e7d (patch)
tree11a1ad813a1348f97bb02ed3b131057bded36a34 /sysutils
parent1ad5cb94ed525592f5d1bc3a3f1c52033803d7e7 (diff)
downloadfreebsd-ports-gnome-db913d4d8d7fcbdb1fae7188bad8242159817e7d.tar.gz
freebsd-ports-gnome-db913d4d8d7fcbdb1fae7188bad8242159817e7d.tar.zst
freebsd-ports-gnome-db913d4d8d7fcbdb1fae7188bad8242159817e7d.zip
Use the new options framework.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/amrstat/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/amrstat/Makefile b/sysutils/amrstat/Makefile
index c1792bef1c71..114b98699478 100644
--- a/sysutils/amrstat/Makefile
+++ b/sysutils/amrstat/Makefile
@@ -14,14 +14,15 @@ MASTER_SITE_SUBDIR= jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for LSI Logic's MegaRAID RAID controllers
-OPTIONS= MEGARC "Also install LSI megarc binary port.." off
+OPTIONS_DEFINE= MEGARC
+MEGARC_DESC= "Install LSI megarc binary port"
-.include <bsd.port.pre.mk>
+.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 defined(WITH_MEGARC)
-RUN_DEPENDS= ${LOCALBASE}/sbin/megarc:${PORTSDIR}/sysutils/megarc
+.if ${PORT_OPTIONS:MMEGARC}
+RUN_DEPENDS+= ${LOCALBASE}/sbin/megarc:${PORTSDIR}/sysutils/megarc
.endif
ALL_TARGET= ${PORTNAME}
@@ -41,4 +42,4 @@ do-install:
${INSTALL_SCRIPT} -d ${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/devel/linux-js?h=gstreamer&id=9d78065b934ec3ec7e86d81fa0215bfc76ffca26'>Populate the 'kld' virtual category, for ports that install Kernel Loadablelinimon2007-06-291-1/+1 * Version 2.2:jylefort2006-04-132-5/+10 * Version 2.1:jylefort2006-03-292-4/+4 * Version 2.0:jylefort2006-03-227-23/+85 * Add linux-js.jylefort2006-02-05