From owner-svn-ports-head@freebsd.org Mon Nov 20 09:00:16 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD26EDE59F6; Mon, 20 Nov 2017 09:00:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60E6A75F3D; Mon, 20 Nov 2017 09:00:16 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAK90FrN057927; Mon, 20 Nov 2017 09:00:15 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAK90Flj057926; Mon, 20 Nov 2017 09:00:15 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201711200900.vAK90Flj057926@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 20 Nov 2017 09:00:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454534 - head/security/matrixssl X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/security/matrixssl X-SVN-Commit-Revision: 454534 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2017 09:00:16 -0000 Author: amdmi3 Date: Mon Nov 20 09:00:15 2017 New Revision: 454534 URL: https://svnweb.freebsd.org/changeset/ports/454534 Log: - Switch to options helpers Modified: head/security/matrixssl/Makefile Modified: head/security/matrixssl/Makefile ============================================================================== --- head/security/matrixssl/Makefile Mon Nov 20 09:00:11 2017 (r454533) +++ head/security/matrixssl/Makefile Mon Nov 20 09:00:15 2017 (r454534) @@ -14,14 +14,14 @@ COMMENT= Small alternative SSL implementation LICENSE= GPLv2+ -OPTIONS_DEFINE= DOCS EXAMPLES - WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}-${PORTVERSION:S/./-/g}-open USES= gmake tar:tgz MAKE_ARGS= CC="${CC}" DFLAGS="${CFLAGS}" STRIP="${TEST}" USE_LDCONFIG= yes +OPTIONS_DEFINE= DOCS EXAMPLES + .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == mips64 || ${ARCH} == powerpc64 || ${ARCH} == sparc64 @@ -50,11 +50,12 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/core/*.h ${STAGEDIR}${PREFIX}/include/matrixssl/core @${MKDIR} ${STAGEDIR}${PREFIX}/include/matrixssl/crypto ${INSTALL_DATA} ${WRKSRC}/crypto/*.h ${STAGEDIR}${PREFIX}/include/matrixssl/crypto -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/apps ${INSTALL_DATA} ${WRKSRC}/apps/Makefile ${STAGEDIR}${EXAMPLESDIR}/apps ${INSTALL_DATA} ${WRKSRC}/apps/*.c ${STAGEDIR}${EXAMPLESDIR}/apps @@ -62,6 +63,5 @@ do-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/sampleCerts ${INSTALL_DATA} ${WRKSRC}/sampleCerts/*.h ${STAGEDIR}${EXAMPLESDIR}/sampleCerts ${INSTALL_DATA} ${WRKSRC}/sampleCerts/*.pem ${STAGEDIR}${EXAMPLESDIR}/sampleCerts -.endif .include