aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-07 20:14:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-07 20:14:43 +0800
commit81980ac2f7fb56ce7aaec167eaf370d63dabda8e (patch)
treec7b41ff876919f8dc613677b63fc3af8d3b0bf35 /sysutils
parent26a14e325453a1fd91d8fafbc7f3e9d728e15da9 (diff)
downloadfreebsd-ports-gnome-81980ac2f7fb56ce7aaec167eaf370d63dabda8e.tar.gz
freebsd-ports-gnome-81980ac2f7fb56ce7aaec167eaf370d63dabda8e.tar.zst
freebsd-ports-gnome-81980ac2f7fb56ce7aaec167eaf370d63dabda8e.zip
- Disable EXFAT by default to allow package building (not possible otherwise due to sysutils/fusefs-exfat licensing restrictions)
- Use options helpers PR: 189486 Submitted by: amdmi3 Approved by: vermaden@interia.pl
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/automount/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/sysutils/automount/Makefile b/sysutils/automount/Makefile
index db5330ade0a2..82910a368e79 100644
--- a/sysutils/automount/Makefile
+++ b/sysutils/automount/Makefile
@@ -17,24 +17,13 @@ PLIST_FILES= sbin/automount etc/devd/automount_devd.conf etc/automount.conf.samp
NO_BUILD= yes
OPTIONS_DEFINE= NTFS3G EXT4 EXFAT
-OPTIONS_DEFAULT= NTFS3G EXT4 EXFAT
+OPTIONS_DEFAULT= NTFS3G EXT4
NTFS3G_DESC= Enable NTFS write support with ntfs-3g over FUSE
+NTFS3G_RUN_DEPENDS= fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
EXT4_DESC= Support EXT4 filesystem
+EXT4_RUN_DEPENDS= fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
EXFAT_DESC= Support Microsoft exFAT filesystem
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNTFS3G}
-RUN_DEPENDS+= fusefs-ntfs>=0:${PORTSDIR}/sysutils/fusefs-ntfs
-.endif
-
-.if ${PORT_OPTIONS:MEXT4}
-RUN_DEPENDS+= fusefs-ext4fuse>=0:${PORTSDIR}/sysutils/fusefs-ext4fuse
-.endif
-
-.if ${PORT_OPTIONS:MEXFAT}
-RUN_DEPENDS+= fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
-.endif
+EXFAT_RUN_DEPENDS= fusefs-exfat>=0:${PORTSDIR}/sysutils/fusefs-exfat
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/automount ${STAGEDIR}${PREFIX}/sbin