1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2016-05-09 09:03:32 +00:00
parent 260d730497
commit 1074a11373
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414829

View File

@ -19,16 +19,20 @@ SCRIPTS= smb2nsmbrc mountsmb2
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
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}