aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/udfclient
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-29 04:01:07 +0800
committerbapt <bapt@FreeBSD.org>2013-04-29 04:01:07 +0800
commit839ca29ce3909cfe75f51f01c6bfd6263cca79ac (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/udfclient
parent7a2d41eb20684123f01fb37f8af0b0c0bdfd1f26 (diff)
downloadfreebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.tar.gz
freebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.tar.zst
freebsd-ports-gnome-839ca29ce3909cfe75f51f01c6bfd6263cca79ac.zip
Convert left sysutils ports to new options framework
Diffstat (limited to 'sysutils/udfclient')
-rw-r--r--sysutils/udfclient/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/udfclient/Makefile b/sysutils/udfclient/Makefile
index 0317d6163f1b..92fb54699741 100644
--- a/sysutils/udfclient/Makefile
+++ b/sysutils/udfclient/Makefile
@@ -19,8 +19,8 @@ WRKSRC= ${WRKDIR}/UDFclient.${PORTVERSION}
GNU_CONFIGURE= yes
MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
-OPTIONS= FUSE "udfclientfs via FUSE" off \
- DEBUG "build with debug support" off
+OPTIONS_DEFINE= FUSE DEBUG
+FUSE_DESC= udfclientfs via FUSE
PLIST_FILES= bin/udfdump \
bin/udfclient \
@@ -31,7 +31,7 @@ PLIST_FILES= bin/udfdump \
.include <bsd.port.options.mk>
-.if defined(WITH_FUSE)
+.if ${PORT_OPTIONS:MFUSE}
UDFCLIENTFS_NAME= udfclientfs
UDFCLIENTFS_VERSION= 0.4
UDFCLIENTFS_DIR= ${WRKDIR}/udfclientfs
@@ -45,12 +45,12 @@ USES+= fuse
PLIST_FILES+= bin/${UDFCLIENTFS_NAME}
.endif
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
CFLAGS+= -O0 -ggdb3
.endif
post-patch:
-.if defined(WITH_FUSE)
+.if ${PORT_OPTIONS:MFUSE}
${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
.endif