summaryrefslogtreecommitdiff
path: root/filesystems/automount/Makefile
blob: 6600b732f402e66beccc824101345623aeab1953 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PORTNAME=	automount
DISTVERSION=	1.7.9
PORTREVISION=	1
CATEGORIES=	filesystems sysutils
MASTER_SITES=	https://raw.github.com/vermaden/automount/master/

MAINTAINER=	vermaden@interia.pl
COMMENT=	FreeBSD's devd(8) based automount solution
WWW=		https://github.com/vermaden/automount/

LICENSE=	BSD2CLAUSE

CONFLICTS_INSTALL=	devd-mount	# Competing devd rules

PLIST_FILES=	sbin/automount etc/devd/automount_devd.conf etc/automount.conf.sample

NO_BUILD=	yes
NO_ARCH=	yes

OPTIONS_DEFINE=		NTFS3G EXT4 EXFAT HFS
OPTIONS_DEFAULT=	NTFS3G EXT4 EXFAT HFS
NTFS3G_DESC=		Enable NTFS write support with ntfs-3g over FUSE
NTFS3G_RUN_DEPENDS=	fusefs-ntfs>=0:filesystems/ntfs
EXT4_DESC=		Support EXT2/3/4 filesystem
EXT4_RUN_DEPENDS=	fusefs-lkl>=0:filesystems/lkl
HFS_DESC=		Support macOS HFS filesystem
HFS_RUN_DEPENDS=	fusefs-hfsfuse>=0:filesystems/hfsfuse
EXFAT_DESC=		Support Microsoft exFAT filesystem
EXFAT_RUN_DEPENDS=	fusefs-exfat>=0:filesystems/exfat \
			exfat-utils>=0:filesystems/exfat-utils

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/automount ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_DATA} ${WRKDIR}/automount_devd.conf \
		${STAGEDIR}${PREFIX}/etc/devd
	${INSTALL_DATA} ${WRKDIR}/automount.conf \
		${STAGEDIR}${PREFIX}/etc/automount.conf.sample

.include <bsd.port.mk>