Xavier Beaudouin ee5c766cba */*: Introduction USES=sudo
A new uses 'sudo' has been added to transperently depends of the
proper flavor of sudo 'default' or 'sssd' depending on the default
version set by the user.

If you prefere to use 'sssd' flavor of sudo, add the following
to your make.conf:

        DEFAULT_VERSIONS+=sudo=sssd

All sudo consummer ports has benn updated to USES=sudo

Reviewed by:    0mp
Approved by:    mat
Sponsored by:   Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D52160
2025-11-11 04:16:23 +01:00

37 lines
867 B
Makefile

PORTNAME= mountsmb2
PORTVERSION= 0.90.2
CATEGORIES= sysutils net
MASTER_SITES= LOCAL/lippe
MAINTAINER= ports@FreeBSD.org
COMMENT= SMB/CIFS shares mounting scripts to do it at login
WWW= http://www.granch.ru/~shelton
RUN_DEPENDS= nbtscan:net-mgmt/nbtscan
USES= sudo tar:bzip2
NO_BUILD= yes
SCRIPTS= smb2nsmbrc mountsmb2
SUB_FILES= pkg-message
PLIST_FILES= bin/mountsmb2 bin/smb2nsmbrc
PORTDOCS= README.FreeBSD
PORTEXAMPLES= sudoers .login .nsmbrc .mssmbrc nsmb.conf
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>