diff options
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%% |