From owner-svn-ports-head@freebsd.org Tue Nov 17 21:30:46 2015 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 039FEA31E54; Tue, 17 Nov 2015 21:30:46 +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 C50A01DE8; Tue, 17 Nov 2015 21:30:45 +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 tAHLUi5u001634; Tue, 17 Nov 2015 21:30:44 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAHLUie1001633; Tue, 17 Nov 2015 21:30:44 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201511172130.tAHLUie1001633@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 17 Nov 2015 21:30:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401825 - head/devel/libghthash X-SVN-Group: ports-head 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.20 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: Tue, 17 Nov 2015 21:30:46 -0000 Author: amdmi3 Date: Tue Nov 17 21:30:44 2015 New Revision: 401825 URL: https://svnweb.freebsd.org/changeset/ports/401825 Log: - Add LICENSE - Switch to options helpers Modified: head/devel/libghthash/Makefile Modified: head/devel/libghthash/Makefile ============================================================================== --- head/devel/libghthash/Makefile Tue Nov 17 21:30:28 2015 (r401824) +++ head/devel/libghthash/Makefile Tue Nov 17 21:30:44 2015 (r401825) @@ -10,7 +10,8 @@ MASTER_SITES= http://www.ipd.bth.se/ska/ MAINTAINER= ports@FreeBSD.org COMMENT= Generic Hash Table -OPTIONS_DEFINE= DOCS EXAMPLES +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf libtool GNU_CONFIGURE= yes @@ -35,9 +36,13 @@ PLIST_FILES= include/ght_hash_table.h \ PORTDOCS= * PORTEXAMPLES= * -post-install: +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${STAGEDIR}${EXAMPLESDIR})