diff options
author | jkim <jkim@FreeBSD.org> | 2012-06-05 02:09:14 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-06-05 02:09:14 +0800 |
commit | db913d4d8d7fcbdb1fae7188bad8242159817e7d (patch) | |
tree | 11a1ad813a1348f97bb02ed3b131057bded36a34 /sysutils | |
parent | 1ad5cb94ed525592f5d1bc3a3f1c52033803d7e7 (diff) | |
download | freebsd-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/Makefile | 11 |
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> |