From owner-svn-ports-head@FreeBSD.ORG Fri Oct 4 10:03:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3DC25ED8; Fri, 4 Oct 2013 10:03:24 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 111FC22B7; Fri, 4 Oct 2013 10:03:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r94A3N3W038398; Fri, 4 Oct 2013 10:03:23 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r94A3Nml038397; Fri, 4 Oct 2013 10:03:23 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201310041003.r94A3Nml038397@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 4 Oct 2013 10:03:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329280 - head/Mk 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.14 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: Fri, 04 Oct 2013 10:03:24 -0000 Author: sunpoet Date: Fri Oct 4 10:03:23 2013 New Revision: 329280 URL: http://svnweb.freebsd.org/changeset/ports/329280 Log: - Add more helpers: ALL_TARGET, INSTALL_TARGET and CATEGORIES - Remove duplicate EXTRA_PATCHES comment - Minor comment rewording: change "add it to" to "add its content to" just like how we describe ${opt}_CMAKE_* PR: ports/182626 Submitted by: sunpoet (myself) Approved by: bapt (portmgr) Modified: head/Mk/bsd.options.mk Modified: head/Mk/bsd.options.mk ============================================================================== --- head/Mk/bsd.options.mk Fri Oct 4 09:52:06 2013 (r329279) +++ head/Mk/bsd.options.mk Fri Oct 4 10:03:23 2013 (r329280) @@ -93,17 +93,14 @@ # ${opt}_CMAKE_OFF When option is disabled, it will add its content to # the CMAKE_ARGS. # -# ${opt}_EXTRA_PATCHES When option is enabled, it will add its content to -# EXTRA_PATCHES -# # For each of CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV -# USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY EXTRA_PATCHES -# PATCHFILES PATCH_SITES, defining -# ${opt}_${variable} will add it to the actual variable when the option is enabled. +# ALL_TARGET INSTALL_TARGET USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY +# EXTRA_PATCHES PATCHFILES PATCH_SITES CATEGORIES, defining ${opt}_${variable} +# will add its content to the actual variable when the option is enabled. # # For each of the depends target PKG EXTRACT PATCH FETCH BUILD LIB RUN, -# defining ${opt}_${deptype}_DEPENDS will add it to the actual dependency when -# the option is enabled. +# defining ${opt}_${deptype}_DEPENDS will add its content to the actual +# dependency when the option is enabled. ## # Set all the options available for the ports, beginning with the @@ -397,8 +394,8 @@ CONFIGURE_ARGS+= ${${opt}_CONFIGURE_ON} CMAKE_ARGS+= ${${opt}_CMAKE_ON} . endif . for flags in CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CONFIGURE_ENV MAKE_ARGS MAKE_ENV \ - USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY \ - EXTRA_PATCHES PATCHFILES PATCH_SITES + ALL_TARGET INSTALL_TARGET USES DISTFILES PLIST_FILES PLIST_DIRS PLIST_DIRSTRY \ + EXTRA_PATCHES PATCHFILES PATCH_SITES CATEGORIES . if defined(${opt}_${flags}) ${flags}+= ${${opt}_${flags}} . endif