From owner-svn-ports-all@FreeBSD.ORG Fri Apr 17 13:28:05 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5825F7F7; Fri, 17 Apr 2015 13:28:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 45F1EFF0; Fri, 17 Apr 2015 13:28:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3HDS5I4070233; Fri, 17 Apr 2015 13:28:05 GMT (envelope-from vsevolod@FreeBSD.org) Received: (from vsevolod@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3HDS53G070231; Fri, 17 Apr 2015 13:28:05 GMT (envelope-from vsevolod@FreeBSD.org) Message-Id: <201504171328.t3HDS53G070231@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vsevolod set sender to vsevolod@FreeBSD.org using -f From: Vsevolod Stakhov Date: Fri, 17 Apr 2015 13:28:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384158 - head/security/hpenc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2015 13:28:05 -0000 Author: vsevolod Date: Fri Apr 17 13:28:04 2015 New Revision: 384158 URL: https://svnweb.freebsd.org/changeset/ports/384158 Log: - Install manual page [1] - Try to fix openssl port dependency Submitted by: Anton Juzhaninov via private email [1] Modified: head/security/hpenc/Makefile Modified: head/security/hpenc/Makefile ============================================================================== --- head/security/hpenc/Makefile Fri Apr 17 13:13:46 2015 (r384157) +++ head/security/hpenc/Makefile Fri Apr 17 13:28:04 2015 (r384158) @@ -2,6 +2,7 @@ PORTNAME= hpenc PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://highsecure.ru/distfiles/ @@ -12,7 +13,7 @@ LICENSE= BSD2CLAUSE USES= tar:xz compiler:c++11-lib gmake USE_OPENSSL= yes -PLIST_FILES= bin/hpenc +PLIST_FILES= bin/hpenc man/man1/hpenc.1.gz MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}" CXXFLAGS+= -std=c++11 \ @@ -25,9 +26,17 @@ LDFLAGS+= -pthread -lcrypto -L${OPENSSLL .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000036 WITH_OPENSSL_PORT= yes + +# XXX: brain damage warning +# we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only +# works when it is defined before bsd.port{.pre}.mk is .included. +# This makes it currently impossible to combine this macro with OSVERSION to +# conditionally select WITH_OPENSSL_PORT for OSVERSIONS before 1000015 +.include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/hpenc.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hpenc .include