2013-01-10 17:08:38 +01:00
|
|
|
# Created by: Slawomir Wojciech Wojtczak <vermaden@interia.pl>
|
2012-04-28 08:50:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-01-10 17:09:49 +01:00
|
|
|
PORTNAME= automount
|
2013-03-22 12:24:00 +01:00
|
|
|
PORTVERSION= 1.4.3
|
2013-01-10 17:09:49 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= https://raw.github.com/vermaden/automount/master/ \
|
2013-01-10 17:08:38 +01:00
|
|
|
LOCAL/bdrewery/${PORTNAME}/
|
2012-04-28 08:50:59 +02:00
|
|
|
|
2013-01-10 17:09:49 +01:00
|
|
|
MAINTAINER= vermaden@interia.pl
|
|
|
|
COMMENT= FreeBSD's devd(8) based automount solution
|
2012-04-28 08:50:59 +02:00
|
|
|
|
2013-01-10 17:09:49 +01:00
|
|
|
LICENSE= BSD
|
2012-04-28 08:50:59 +02:00
|
|
|
|
2013-01-10 17:09:49 +01:00
|
|
|
PLIST_FILES= sbin/automount etc/devd/automount_devd.conf etc/automount.conf.sample
|
2012-04-28 08:50:59 +02:00
|
|
|
|
2013-01-10 17:09:49 +01:00
|
|
|
NO_BUILD= yes
|
2012-04-28 08:50:59 +02:00
|
|
|
|
2013-03-22 12:24:00 +01:00
|
|
|
OPTIONS_DEFINE= NTFS3G EXT4 EXFAT
|
|
|
|
OPTIONS_DEFAULT= NTFS3G EXT4 EXFAT
|
2013-03-04 03:05:25 +01:00
|
|
|
NTFS3G_DESC= Enable NTFS write support with ntfs-3g over FUSE
|
|
|
|
EXT4_DESC= Support EXT4 filesystem
|
|
|
|
EXFAT_DESC= Support Microsoft exFAT filesystem
|
|
|
|
|
2013-09-21 01:05:58 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-04 03:05:25 +01:00
|
|
|
.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
|
|
|
|
|
2012-04-28 08:50:59 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/automount ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/automount_devd.conf ${PREFIX}/etc/devd/automount_devd.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/automount.conf.sample ${PREFIX}/etc/automount.conf.sample
|
|
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|