From owner-svn-ports-all@freebsd.org Sun May 28 23:17:53 2017 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 ECD52D859B5; Sun, 28 May 2017 23:17:53 +0000 (UTC) (envelope-from sunpoet@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 BAACF1951; Sun, 28 May 2017 23:17:53 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4SNHqZO054668; Sun, 28 May 2017 23:17:52 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4SNHqsh054667; Sun, 28 May 2017 23:17:52 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705282317.v4SNHqsh054667@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 28 May 2017 23:17:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441963 - head/net/unison240 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.23 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: Sun, 28 May 2017 23:17:54 -0000 Author: sunpoet Date: Sun May 28 23:17:52 2017 New Revision: 441963 URL: https://svnweb.freebsd.org/changeset/ports/441963 Log: Fix options helper - Fix OPTIONS_DEFAULT: remove DOCS which is added by framework - Convert to options target helper Approved by: portmgr (blanket) Modified: head/net/unison240/Makefile Modified: head/net/unison240/Makefile ============================================================================== --- head/net/unison240/Makefile Sun May 28 23:17:47 2017 (r441962) +++ head/net/unison240/Makefile Sun May 28 23:17:52 2017 (r441963) @@ -32,7 +32,7 @@ EXTRA_DOCS= ${DISTNAME}-manual.html \ ${DISTNAME}-manual.pdf ${DISTNAME}-manual.ps OPTIONS_DEFINE= DOCS X11 -OPTIONS_DEFAULT?= DOCS X11 +OPTIONS_DEFAULT?= X11 X11_MAKE_ARGS= UISTYLE=gtk2 X11_PLIST_SUB= TEXT="" @@ -57,6 +57,8 @@ post-build-X11-on: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${EXTRA_DOCS} ${STAGEDIR}${DOCSDIR}