summaryrefslogtreecommitdiff
path: root/sysutils/volman
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:20:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:20:54 +0000
commit5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36 (patch)
treea9204b90cc101be547e527fde78de45217b69fc4 /sysutils/volman
parenta01f6eaec9ff2a3b4ec649be375cba93c43e1646 (diff)
downloadfreebsd-ports-5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36.zip
- Convert to Optionsng
- While here trim header
Diffstat (limited to 'sysutils/volman')
-rw-r--r--sysutils/volman/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/volman/Makefile b/sysutils/volman/Makefile
index 6dde95df03c4..30eff9f78d71 100644
--- a/sysutils/volman/Makefile
+++ b/sysutils/volman/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: volman
-# Date created: 2012-01-06
-# Whom: Aragon Gouveia <aragon@phat.za.net>
-#
+# Created by: Aragon Gouveia <aragon@phat.za.net>
# $FreeBSD$
-#
PORTNAME= volman
PORTVERSION= 0.7
@@ -18,12 +14,13 @@ USE_XZ= yes
USE_RC_SUBR= volmand
VM_SUB_FILES= vmount volmand
-OPTIONS= OPENBOX "Install Openbox pipemenu script" off \
- NTFS3G "Use fusefs-ntfs extensions" off
+OPTIONS_DEFINE= OPENBOX NTFS3G
+OPENBOX_DESC= Openbox pipemenu script
+NTFS3G_DESC= Use fusefs-ntfs extensions
.include <bsd.port.options.mk>
-.if defined(WITH_OPENBOX)
+.if ${PORT_OPTIONS:MOPENBOX}
VM_SUB_FILES+= obvolman
RUN_DEPENDS+= ${LOCALBASE}/bin/xmessage:${PORTSDIR}/x11/xmessage
PLIST_SUB+= OPENBOX=""
@@ -31,7 +28,7 @@ PLIST_SUB+= OPENBOX=""
PLIST_SUB+= OPENBOX="@comment "
.endif
-.if defined(WITH_NTFS3G)
+.if ${PORT_OPTIONS:MNTFS3G}
RUN_DEPENDS+= ${LOCALBASE}/bin/ntfs-3g:${PORTSDIR}/sysutils/fusefs-ntfs
SUB_LIST+= RCFUSEFS=" fusefs"
.else