svn commit: r348446 - head/sysutils/mountsmb2
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Mar 17 07:54:09 UTC 2014
Author: ehaupt
Date: Mon Mar 17 07:54:09 2014
New Revision: 348446
URL: http://svnweb.freebsd.org/changeset/ports/348446
QAT: https://qat.redports.org/buildarchive/r348446/
Log:
- Support staging
- Define EXAMPLES option
- Define DOCS option
- Convert USE_BZIP2=yes to USES=tar:bzip2
Deleted:
head/sysutils/mountsmb2/pkg-plist
Modified:
head/sysutils/mountsmb2/Makefile
Modified: head/sysutils/mountsmb2/Makefile
==============================================================================
--- head/sysutils/mountsmb2/Makefile Mon Mar 17 07:47:19 2014 (r348445)
+++ head/sysutils/mountsmb2/Makefile Mon Mar 17 07:54:09 2014 (r348446)
@@ -13,24 +13,24 @@ COMMENT= SMB/CIFS shares mounting script
RUN_DEPENDS= nbtscan:${PORTSDIR}/net-mgmt/nbtscan \
sudo:${PORTSDIR}/security/sudo
-USE_BZIP2= yes
+USES= tar:bzip2
NO_BUILD= yes
-EXAMPLES= sudoers .login .nsmbrc .mssmbrc nsmb.conf
SCRIPTS= smb2nsmbrc mountsmb2
SUB_FILES= pkg-message
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+PLIST_FILES= bin/mountsmb2 bin/smb2nsmbrc
+PORTDOCS= README.FreeBSD
+PORTEXAMPLES= sudoers .login .nsmbrc .mssmbrc nsmb.conf
+
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
+ ${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list