freebsd-ports/Mk
Baptiste Daroussin 67cfdf9034 New macros to help dealing with ports that have options:
OPTIONS_SUB=yes when set in a port, all the option names are automatically
added to the PLIST_SUB with "@comment " value in case the option is off and
empty value in case the options is on.

${OPT}_CONFIGURE_ENABLE=<aname> will automatically add:
CONFIGURE_ARGS+=--enable-<aname> in case OPT is activated
CONFIGURE_ARGS+=--disable-<aname> in case OPT is deactivated

${OPT}_CONFIGURE_ON=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is activated

${OPT_CONFIGURE_OFF=<something> will automatically add:
CONFIGURE_ARGS+=<something> in case OPT is deactivated

${OPT}_CFLAGS will append the specified new flags to CFLAGS if OPT is 'on'
${OPT}_CXXFLAGS will append the specified new flags to CXXFLAGS if OPT is 'on'
${OPT}_LDFLAGS will append the specified new flags to LDFLAGS if OPT is 'on'

${OPT}_CONFIGURE_ENV will append the specified variables to CONFIGURE_ENV if
OPT is 'on'
${OPT}_MAKE_ENV will append the specified variables to MAKE_ENV if OPT is 'on'

${OPT}_USES will append the speficied uses to USES if OPT is 'on'

${OPT}_DISTFILES will append the specified distiles to DISTFILES if OPT in 'on'

Reviewed and tested by:	bdrewery
2013-06-14 13:41:37 +00:00
..
Uses Add a USES display to replace USE_DISPLAY. 2013-06-14 12:47:19 +00:00
bsd.apache.mk - prepare for apache24 2013-03-26 21:31:27 +00:00
bsd.autotools.mk Update to 1.12.6 2012-12-19 20:27:06 +00:00
bsd.commands.mk - Add PS_CMD 2013-05-31 16:09:54 +00:00
bsd.cran.mk - Add Archive path to MASTER_SITES to fetch archived CRAN tar ball 2012-11-21 14:31:35 +00:00
bsd.database.mk Add Oracle Berkeley DB 6.0. 2013-06-11 08:15:22 +00:00
bsd.destdir.mk
bsd.drupal.mk - Remove CVS reference 2013-05-20 00:45:26 +00:00
bsd.efl.mk - Update Enlightenment to 0.17.0 2012-12-22 20:54:59 +00:00
bsd.emacs.mk GNU Emacs updates 2013-03-30 05:13:30 +00:00
bsd.fpc.mk - Remove CVS reference 2013-05-20 00:45:26 +00:00
bsd.gcc.mk Merge two loops and initialize _GCC_FOUND${v} and check whether USE_GCC 2013-03-29 11:26:14 +00:00
bsd.gecko.mk Commit a file forgotten in r318268. 2013-05-16 09:41:53 +00:00
bsd.gnome.mk Update to 1.14.26. 2013-05-05 20:47:42 +00:00
bsd.gnustep.mk Fix build when WITH_CCACHE_BUILD is set. 2013-05-30 01:06:51 +00:00
bsd.gstreamer.mk Partial revert of r320440 some things has been committed that shouldn't have yet 2013-06-10 08:20:25 +00:00
bsd.java.mk - Remove CVS reference 2013-05-20 00:45:26 +00:00
bsd.kde4.mk KDE/FreeBSD team presents KDE SC 4.10.3 ports! 2013-05-18 20:34:41 +00:00
bsd.kde.mk
bsd.ldap.mk bmake is quite strict with != make it really happy 2013-05-02 17:12:43 +00:00
bsd.licenses.db.mk - The APACHE license is specifically rejected by copyfree at: 2013-05-20 12:24:43 +00:00
bsd.licenses.mk - Set IGNORE if BATCH is set [1] 2012-06-26 15:27:54 +00:00
bsd.linux-apps.mk - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk and 2013-05-30 09:11:52 +00:00
bsd.linux-rpm.mk - Finish removal of support for Linux 2.4 in bsd.linux-apps.mk and 2013-05-30 09:11:52 +00:00
bsd.local.mk
bsd.lua.mk
bsd.ocaml.mk
bsd.octave.mk
bsd.openssl.mk Adjust the LDFLAGS from USE_NCURSES and USE_OPENSSL to fix build with clang: 2012-12-10 17:51:48 +00:00
bsd.options.desc.mk Add shared Hunspell spell checker description. 2013-05-12 04:48:06 +00:00
bsd.options.mk New macros to help dealing with ports that have options: 2013-06-14 13:41:37 +00:00
bsd.pbi.mk - Fix bsd.pbi.mk being processed twice when including both 2013-03-11 00:51:39 +00:00
bsd.perl.mk - lang/perl5.12 upgrade to 5.12.5 2013-06-12 13:00:55 +00:00
bsd.php.mk Rework check for threaded apache, in order to support apache 2.4. 2013-05-27 12:32:13 +00:00
bsd.pkgng.mk Yes more simplification in showconfig, pretty-print-config and pkgng manifest generation 2013-06-14 06:56:16 +00:00
bsd.port.mk Let config-conditional take options configured in make.conf into account. 2013-06-14 12:59:02 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Do not hardcode make 2013-05-03 06:56:03 +00:00
bsd.python.mk - Remove support for USE_CMAKE and KDE4_BUILDENV, they are no of use anymore. 2013-05-31 16:03:49 +00:00
bsd.qt.mk Fix bmake complaining about non-zero return 2013-05-02 14:12:58 +00:00
bsd.ruby.mk - Update Ruby 2.0.0 to p195 2013-05-28 00:46:32 +00:00
bsd.scons.mk
bsd.sdl.mk
bsd.sites.mk Switch to using FTP for the ftp.ntu.edu.tw kernel.org mirror. 2013-06-11 19:43:45 +00:00
bsd.tcl.mk - Switch default version of Tcl/Tk from 8.5 to 8.6 2013-05-21 08:59:02 +00:00
bsd.tex.mk - Update ls-R after fmtutil. 2013-06-08 11:48:04 +00:00
bsd.wx.mk Not supported upstream anymore, consider using more recent versions 2012-10-26 06:23:33 +00:00
bsd.xfce.mk - sysutils/garcon update to 0.2.1 2013-05-08 16:18:57 +00:00
bsd.xorg.mk The FreeBSD x11 team proudly presents 2013-05-25 14:37:02 +00:00