- Make it slightly simpler to update OpenSSL version information

for regenerating OpenSSL manual pages.
- Explicitly set the OpenSSL release date so manual pages contain
  the date OpenSSL was released and not just the date OpenSSL was
  imported into the FreeBSD base system.
- Update for Makefile for OpenSSL 0.9.8n.
This commit is contained in:
Simon L. B. Nielsen 2010-04-01 15:35:29 +00:00
parent ab8565e267
commit 3df672379c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206047

View File

@ -2,6 +2,10 @@
.include <bsd.own.mk>
# OpenSSL version used for manual page generation
OPENSSL_VER= 0.9.8n
OPENSSL_DATE= 2010-03-24
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl
LCRYPTO_DOC= ${.CURDIR}/../../../crypto/openssl/doc
@ -34,7 +38,8 @@ man-update:
@(sec=${manpage:E}; \
pod=${manpage:R}.pod; \
cp ${LCRYPTO_DOC}/${_docs}/$$pod .; \
pod2man --section=$$sec --release="0.9.8m" --center="OpenSSL" \
pod2man --section=$$sec --release="${OPENSSL_VER}" \
--date="${OPENSSL_DATE}" --center="OpenSSL" \
$$pod > ${.CURDIR}/man/${manpage}; \
rm -f $$pod; \
${ECHO} ${manpage})