aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/volman
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
committermiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
commit4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa (patch)
treea9204b90cc101be547e527fde78de45217b69fc4 /sysutils/volman
parentce6e9471b02499cdef50832e574c8f5c838a7c00 (diff)
downloadfreebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.gz
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.zst
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.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