36 lines
846 B
Makefile
36 lines
846 B
Makefile
# Created by: 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
|
|
|
|
NO_STAGE= yes
|
|
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>
|