- 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
This commit is contained in:
Dmitry Marakasov 2014-10-07 12:14:43 +00:00
parent c477206edd
commit b09327469f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370313

View File

@ -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