Date: Fri, 4 Oct 2013 10:03:23 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329280 - head/Mk Message-ID: <201310041003.r94A3Nml038397@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310041003.r94A3Nml038397>