aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mountsmb2/Makefile
blob: e08c67530af4cf33f7d362dd96e3d944dc425dd7 (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
# New ports collection makefile for:    mountsmb2
# Date created:             17 Mar 2006
# Whom:                 Rashid N. Achilov <shelton@granch.ru>
#
# $FreeBSD$
#

PORTNAME=   mountsmb2
PORTVERSION=    0.90.2
CATEGORIES= sysutils net
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= lippe

MAINTAINER= citycat4@ngs.ru
COMMENT=    SMB/CIFS shares mounting scripts to do it at login

RUN_DEPENDS=    nbtscan:${PORTSDIR}/net-mgmt/nbtscan \
        sudo:${PORTSDIR}/security/sudo

USE_BZIP2=  yes
NO_BUILD=   yes

EXAMPLES=   sudoers .login .nsmbrc .mssmbrc nsmb.conf
SCRIPTS=    smb2nsmbrc mountsmb2

SUB_FILES=  pkg-message

do-install:
    @${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${PREFIX}/bin
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR}
.endif

.include <bsd.port.mk>