aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mountsmb2
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-09 17:03:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-09 17:03:32 +0800
commit1a71a083b3fbfde185054c1b1582f0f22838a155 (patch)
tree030c96d5adfc31dfdce2fa502462f841a342b05f /sysutils/mountsmb2
parent6aab84a801bb5585796be1fad393393de43d74c8 (diff)
downloadfreebsd-ports-gnome-1a71a083b3fbfde185054c1b1582f0f22838a155.tar.gz
freebsd-ports-gnome-1a71a083b3fbfde185054c1b1582f0f22838a155.tar.zst
freebsd-ports-gnome-1a71a083b3fbfde185054c1b1582f0f22838a155.zip
- Switch to options helpers
Diffstat (limited to 'sysutils/mountsmb2')
-rw-r--r--sysutils/mountsmb2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/mountsmb2/Makefile b/sysutils/mountsmb2/Makefile
index ba8a36dd4d56..d6ddcba5104f 100644
--- a/sysutils/mountsmb2/Makefile
+++ b/sysutils/mountsmb2/Makefile
@@ -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}