diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-09-12 08:51:36 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-09-12 08:51:36 +0000 |
commit | d2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2 (patch) | |
tree | afe5eaaeae3489149a6532702b6dff8fa7acbf29 /security/rid | |
parent | 54d25ae10ed00198829fb49c5f9555886fb071de (diff) | |
download | ports-d2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2.tar.gz ports-d2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2.zip |
- Respect NOPORTDOCS/NOPORTEXAMPLES
Approved by: portmgr (erwin)
Notes
Notes:
svn path=/head/; revision=220362
Diffstat (limited to 'security/rid')
-rw-r--r-- | security/rid/Makefile | 10 | ||||
-rw-r--r-- | security/rid/pkg-plist | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/security/rid/Makefile b/security/rid/Makefile index 2aedbb3d6737..f0b9ec7303c5 100644 --- a/security/rid/Makefile +++ b/security/rid/Makefile @@ -18,16 +18,18 @@ COMMENT= Configurable remote distributed denial of service tool detector ALL_TARGET= rid +DOCS= README + pre-configure: - @${REINPLACE_CMD} -e 's:config.txt:${PREFIX}/etc/rid.conf:g' \ + @${REINPLACE_CMD} -e 's:config.txt:${PREFIX}/etc/rid.conf.sample:g' \ ${WRKSRC}/config.h do-install: @${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin - @${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/rid.conf + @${INSTALL_DATA} ${WRKSRC}/config.txt ${PREFIX}/etc/rid.conf.sample .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/rid - @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/rid + ${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/security/rid/pkg-plist b/security/rid/pkg-plist index 14b8c0f2731b..5da7a3f59df0 100644 --- a/security/rid/pkg-plist +++ b/security/rid/pkg-plist @@ -1,5 +1,5 @@ @comment $FreeBSD$ sbin/rid -etc/rid.conf -share/doc/rid/README -@dirrm share/doc/rid +etc/rid.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |