summaryrefslogtreecommitdiff
path: root/sysutils/automounter/Makefile
blob: 13fc9b655ec05299507a5463d85c2adbb6542b75 (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
# Created by: Dominic Fandrey <kamikaze@bsdforen.de>
# $FreeBSD$

PORTNAME=	automounter
PORTVERSION=	1.4.7
CATEGORIES=	sysutils
MASTER_SITES=	SF/bsdadminscripts/${PORTNAME}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	kamikaze@bsdforen.de
COMMENT=	Provides scripts to dynamically configure amd

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
NO_BUILD=	yes
MANCOMPRESSED=	yes
PKGMESSAGE=	${WRKSRC}/../NOTES

MAN5=		${PORTNAME}.conf.5
MAN8=		${PORTNAME}.8

plist: patch
		@cd ${WRKSRC}; ./plist.sh -nodoc > ${PLIST}

# Use "amd -S" to avoid a vm locking panic, the scope of which has not yet
# been determined. See kern/181590.
do-install:
		@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX} \
			-amd="/usr/sbin/amd -S"

post-install:
		@${JOT} -s- -b- 39
		@${CAT} ${PKGMESSAGE}
		@${JOT} -s- -b- 39

.include <bsd.port.mk>