aboutsummaryrefslogtreecommitdiff
path: root/security/sslwrap
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-09-12 08:51:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-09-12 08:51:36 +0000
commitd2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2 (patch)
treeafe5eaaeae3489149a6532702b6dff8fa7acbf29 /security/sslwrap
parent54d25ae10ed00198829fb49c5f9555886fb071de (diff)
downloadports-d2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2.tar.gz
ports-d2d7c7dc32c1ebdc152f349e1e12d55ec09ddea2.zip
Notes
Diffstat (limited to 'security/sslwrap')
-rw-r--r--security/sslwrap/Makefile7
-rw-r--r--security/sslwrap/pkg-plist6
2 files changed, 7 insertions, 6 deletions
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%%