614651311e
A script to dynamically configure amd and populate /media with appropriate links, when USB mass storage devices appear. It relies on geom labels, hence it only works for properly labeled devices. It also allows to automatically attach geli encrypted devices and images with keys polled from file systems it makes mountable. WWW: http://sourceforge.net/projects/bsdadminscripts/ - Kamikaze kamikaze@bsdforen.de PR: ports/122726 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de>
34 lines
716 B
Makefile
34 lines
716 B
Makefile
# New ports collection makefile for: automounter
|
|
# Date created: 26 March 2008
|
|
# Whom: Dominic Fandrey <kamikaze@bsdforen.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= automounter
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= bsdadminscripts
|
|
|
|
MAINTAINER= kamikaze@bsdforen.de
|
|
COMMENT= Provides scripts to dynamically configure amd
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
NO_BUILD= yes
|
|
MANCOMPRESSED= no
|
|
|
|
.if defined(NOPORTDOCS)
|
|
NOPORTDOCS= -nodoc
|
|
.else
|
|
MAN5= automounter.conf.5
|
|
MAN8= automounter.8
|
|
.endif
|
|
|
|
plist: patch
|
|
cd ${WRKSRC}; ./list.sh -nodoc > ${PLIST}
|
|
|
|
do-install:
|
|
@cd ${WRKSRC}; ./install.sh -prefix=${PREFIX} ${NOPORTDOCS}
|
|
|
|
.include <bsd.port.mk>
|