Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 18:36:50 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402178 - head/security/openssl
Message-ID:  <201511211836.tALIaodR028812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sat Nov 21 18:36:50 2015
New Revision: 402178
URL: https://svnweb.freebsd.org/changeset/ports/402178

Log:
  - use post-install-DOCS-on
  - cleanup text in IGNORE

Modified:
  head/security/openssl/Makefile

Modified: head/security/openssl/Makefile
==============================================================================
--- head/security/openssl/Makefile	Sat Nov 21 18:24:12 2015	(r402177)
+++ head/security/openssl/Makefile	Sat Nov 21 18:36:50 2015	(r402178)
@@ -67,7 +67,7 @@ CPE_VERSION=	${PORTVERSION}${DISTVERSION
 .include <bsd.port.pre.mk>
 
 .if ${PREFIX} == /usr
-IGNORE=	OpenSSL can not be installed over the base version.
+IGNORE=	the OpenSSL port can not be installed over the base version
 .endif
 
 OPENSSLDIR?=	${PREFIX}/openssl
@@ -155,7 +155,7 @@ PATCHFILES+=	1001-crypto-hmac-support-EV
 
 .if ${PORT_OPTIONS:MGMP}
 EXTRACONFIGURE+=	enable-gmp -I${LOCALBASE}/include
-IGNORE=	GMP is LGPLv3 and can not be linked.
+IGNORE=	can not be linked because GMP is LGPLv3
 .else
 EXTRACONFIGURE+=	no-gmp
 .endif
@@ -224,15 +224,14 @@ post-install:
 	${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${STAGEDIR}${PREFIX}/lib/$i.so
 .endfor
 .endif
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/openssl.txt ${STAGEDIR}${DOCSDIR}/
-.endif
 .if empty(PORT_OPTIONS:MMAN3)
 	${RM} -rf ${STAGEDIR}/${PREFIX}/man/man3
 	${REINPLACE_CMD} -e 's|^man/man3/.*||' ${TMPPLIST}
 .endif
-	${SED} -e 's|/usr/local|${PREFIX}|g' ${PKGMESSAGE}
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/openssl.txt ${STAGEDIR}${DOCSDIR}/
 
 test: build
 	cd ${WRKSRC} && ${MAKE} test



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511211836.tALIaodR028812>