aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-05-16 22:17:15 +0800
committerlippe <lippe@FreeBSD.org>2008-05-16 22:17:15 +0800
commitdb4bdf9a976a3b23b039d955129df29fdf932903 (patch)
treeb0768ada0496231665b5b200a093c63ecaf3d230
parent1892524c6105b9039772e8d728bdbc8e8fda0e93 (diff)
downloadfreebsd-ports-graphics-db4bdf9a976a3b23b039d955129df29fdf932903.tar.gz
freebsd-ports-graphics-db4bdf9a976a3b23b039d955129df29fdf932903.tar.zst
freebsd-ports-graphics-db4bdf9a976a3b23b039d955129df29fdf932903.zip
- Update MASTER_SITES [1].
- Move pkg-message to FILESDIR. - Respect now NOPORTDOCS/NOPORTEXAMPLES. [1] The distfile is obtained through a client-side script, which does not work with fetch(1). PR: ports/121095 Submitted by: "Rashid N. Citycat Achilov" <citycat4@ngs.ru> Reworked by: lippe (myself) Approved by: gabor (mentor), maintainer timeout (> 2 weeks)
-rw-r--r--sysutils/mountsmb2/Makefile35
-rw-r--r--sysutils/mountsmb2/files/pkg-message.in (renamed from sysutils/mountsmb2/pkg-message)0
2 files changed, 15 insertions, 20 deletions
diff --git a/sysutils/mountsmb2/Makefile b/sysutils/mountsmb2/Makefile
index 4b80eff5180..4153b80b3d4 100644
--- a/sysutils/mountsmb2/Makefile
+++ b/sysutils/mountsmb2/Makefile
@@ -8,37 +8,32 @@
PORTNAME= mountsmb2
PORTVERSION= 0.90.2
CATEGORIES= sysutils net
-MASTER_SITES= ftp://ftp.granch.ru/pub/other/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= lippe
MAINTAINER= achilov-rn@askd.ru
COMMENT= SMB/CIFS shares mounting scripts to do it at login
RUN_DEPENDS= nbtscan:${PORTSDIR}/net-mgmt/nbtscan \
- sudo:${PORTSDIR}/security/sudo \
-
-.if !exists(/usr/bin/host)
-RUN_DEPENDS+= host:${PORTSDIR}/dns/bind9
-.endif
+ sudo:${PORTSDIR}/security/sudo
USE_BZIP2= yes
NO_BUILD= yes
-do-install:
-
-.for i in smb2nsmbrc mountsmb2
- ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
-.endfor
-.if !defined(NOPORTDOCS)
- -@${MKDIR} ${EXAMPLESDIR}
+EXAMPLES= sudoers .login .nsmbrc .mssmbrc nsmb.conf
+SCRIPTS= smb2nsmbrc mountsmb2
-.for i in sudoers .login .nsmbrc .mssmbrc nsmb.conf
- ${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
-.endfor
+SUB_FILES= pkg-message
- -@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR}
-
- @${SED} -e "s,%%EXAMPLESDIR%%,${EXAMPLESDIR},g" ${PKGMESSAGE}
+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>
diff --git a/sysutils/mountsmb2/pkg-message b/sysutils/mountsmb2/files/pkg-message.in
index b7720dddcd5..b7720dddcd5 100644
--- a/sysutils/mountsmb2/pkg-message
+++ b/sysutils/mountsmb2/files/pkg-message.in