From owner-svn-ports-all@freebsd.org Fri Aug 12 09:01:08 2016 Return-Path: Delivered-To: svn-ports-all@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 9101FBB6AD5; Fri, 12 Aug 2016 09:01:08 +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 5F27D11D2; Fri, 12 Aug 2016 09:01:08 +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 u7C917qT051159; Fri, 12 Aug 2016 09:01:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7C917F8051158; Fri, 12 Aug 2016 09:01:07 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201608120901.u7C917F8051158@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 12 Aug 2016 09:01:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420118 - head/lang/huc 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.22 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, 12 Aug 2016 09:01:08 -0000 Author: amdmi3 Date: Fri Aug 12 09:01:07 2016 New Revision: 420118 URL: https://svnweb.freebsd.org/changeset/ports/420118 Log: - Switch to options helpers Modified: head/lang/huc/Makefile Modified: head/lang/huc/Makefile ============================================================================== --- head/lang/huc/Makefile Fri Aug 12 05:36:39 2016 (r420117) +++ head/lang/huc/Makefile Fri Aug 12 09:01:07 2016 (r420118) @@ -10,14 +10,14 @@ MASTER_SITES= http://www.zeograd.com/dow MAINTAINER= ports@FreeBSD.org COMMENT= PC Engine C compiler which can create ROMs (hucard) or CD images -OPTIONS_DEFINE= DOCS - NO_WRKSUBDIR= yes USES= gmake zip MAKE_ARGS= CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +OPTIONS_DEFINE= DOCS + do-install: .for file in huc isolink nesasm pceas pcxtool ${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${STAGEDIR}${PREFIX}/bin @@ -25,6 +25,8 @@ do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} (cd ${WRKSRC}/include \ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/${PORTNAME}) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc \ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})