diff options
author | miwi <miwi@FreeBSD.org> | 2008-09-12 16:51:36 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-09-12 16:51:36 +0800 |
commit | 8bea4f97a38cab6ef1cf258f2060b4b56c14bc60 (patch) | |
tree | dcae3719c7a178ba3936eb0937893e15b7a8ddee /security | |
parent | 14ebfe654b2d93d0b4359c05d2c61695be3747a8 (diff) | |
download | freebsd-ports-gnome-8bea4f97a38cab6ef1cf258f2060b4b56c14bc60.tar.gz freebsd-ports-gnome-8bea4f97a38cab6ef1cf258f2060b4b56c14bc60.tar.zst freebsd-ports-gnome-8bea4f97a38cab6ef1cf258f2060b4b56c14bc60.zip |
- Respect NOPORTDOCS/NOPORTEXAMPLES
Approved by: portmgr (erwin)
Diffstat (limited to 'security')
-rw-r--r-- | security/rid/Makefile | 10 | ||||
-rw-r--r-- | security/rid/pkg-plist | 6 | ||||
-rw-r--r-- | security/sslwrap/Makefile | 7 | ||||
-rw-r--r-- | security/sslwrap/pkg-plist | 6 |
4 files changed, 16 insertions, 13 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%% diff --git a/security/sslwrap/Makefile b/security/sslwrap/Makefile index c860ce2e5a1f..ecef0aa4bbed 100644 --- a/security/sslwrap/Makefile +++ b/security/sslwrap/Makefile @@ -19,6 +19,8 @@ USE_OPENSSL= YES WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g} +DOCS= README docs.html + post-patch: ${REINPLACE_CMD} -e \ 's/SSL_OP_NON_EXPORT_FIRST/SSL_OP_CIPHER_SERVER_PREFERENCE/g' \ @@ -30,9 +32,8 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sslwrap ${PREFIX}/bin/sslwrap .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/sslwrap - ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs.html \ - ${PREFIX}/share/doc/sslwrap + ${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/security/sslwrap/pkg-plist b/security/sslwrap/pkg-plist index 5c59136ab67d..a0efe95be4ce 100644 --- a/security/sslwrap/pkg-plist +++ b/security/sslwrap/pkg-plist @@ -1,4 +1,4 @@ bin/sslwrap -share/doc/sslwrap/README -share/doc/sslwrap/docs.html -@dirrm share/doc/sslwrap +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/docs.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |