aboutsummaryrefslogtreecommitdiff
path: root/net/sntop
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
commit3631e2333a8700d4f00d6caa681ba17d7687babf (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/sntop
parentd88572b38372acbe93dad72b0058c23d88f85dca (diff)
downloadports-3631e2333a8700d4f00d6caa681ba17d7687babf.tar.gz
ports-3631e2333a8700d4f00d6caa681ba17d7687babf.zip
Notes
Diffstat (limited to 'net/sntop')
-rw-r--r--net/sntop/Makefile4
-rw-r--r--net/sntop/pkg-plist6
2 files changed, 5 insertions, 5 deletions
diff --git a/net/sntop/Makefile b/net/sntop/Makefile
index 68357e82eded..e3e3c2472979 100644
--- a/net/sntop/Makefile
+++ b/net/sntop/Makefile
@@ -17,14 +17,14 @@ PORTDOCS= COPYING CREDITS ChangeLog INSTALL README TODO
EXAMPLES= alarm.sh sntoprc.EXAMPLE
SUB_FILES= pkg-message
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sntop
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for example in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${example} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/net/sntop/pkg-plist b/net/sntop/pkg-plist
index a4a93a7c4ae4..018149aacc81 100644
--- a/net/sntop/pkg-plist
+++ b/net/sntop/pkg-plist
@@ -1,6 +1,6 @@
bin/sntop
@sample etc/sntoprc.sample
man/man1/sntop.1.gz
-%%EXAMPLESDIR%%/alarm.sh
-%%EXAMPLESDIR%%/sntoprc.EXAMPLE
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alarm.sh
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sntoprc.EXAMPLE
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%