diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 21:44:04 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 21:44:04 +0000 |
commit | 3631e2333a8700d4f00d6caa681ba17d7687babf (patch) | |
tree | 745f97af838071739e1b6070acbf4862962b5405 /net/sntop | |
parent | - Keep la files, this fixes bacula-server build (diff) |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes:
svn path=/head/; revision=360664
Diffstat (limited to 'net/sntop')
-rw-r--r-- | net/sntop/Makefile | 4 | ||||
-rw-r--r-- | net/sntop/pkg-plist | 6 |
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%% |