aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gkrellmms2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2012-06-17 03:11:44 +0800
committerume <ume@FreeBSD.org>2012-06-17 03:11:44 +0800
commitd4202fd56c042fe87f0d2aadc2bc1cc6e532960d (patch)
tree9bd64d7598218e46d7ea8698a1cb51eb6f5ca491 /audio/gkrellmms2
parentdc89b2aff8e35796f0607fc867ad0c2b86ababd6 (diff)
downloadfreebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.tar.gz
freebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.tar.zst
freebsd-ports-gnome-d4202fd56c042fe87f0d2aadc2bc1cc6e532960d.zip
Convert to use new OPTIONS framework.
Diffstat (limited to 'audio/gkrellmms2')
-rw-r--r--audio/gkrellmms2/Makefile23
1 files changed, 9 insertions, 14 deletions
diff --git a/audio/gkrellmms2/Makefile b/audio/gkrellmms2/Makefile
index 229e0d3ca88c..aaf7d309a857 100644
--- a/audio/gkrellmms2/Makefile
+++ b/audio/gkrellmms2/Makefile
@@ -33,24 +33,19 @@ MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \
LOCALEDIR=${PREFIX}/share/locale \
enable_nls=1
-OPTIONS= BEEP_MEDIA_PLAYER "Use beep" off \
- XMMS "Use XMMS" on
+OPTIONS_SINGLE= PLAYER
+OPTIONS_SINGLE_PLAYER= BMP XMMS
+OPTIONS_DEFAULT= XMMS
+BMP_DESC= Use Beep Media Player
+XMMS_DESC= Use XMMS
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITH_BEEP_MEDIA_PLAYER) && !defined(WITH_XMMS)
-.if defined(WITHOUT_BEEP_MEDIA_PLAYER) && defined(WITHOUT_XMMS)
-BROKEN= You need to select beep or XMMS. Run 'make config' again!
-.endif
-WITH_XMMS= yes
-.elif defined(WITH_BEEP_MEDIA_PLAYER) && defined(WITH_XMMS)
-BROKEN= beep and XMMS are mutually exclusive. Run 'make config' again!
-.endif
-.if defined(WITH_BEEP_MEDIA_PLAYER)
+.if ${PORT_OPTIONS:MBMP}
LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player
MAKE_ENV+= USE_BMP=yes
-.elif defined(WITH_XMMS)
+.elif ${PORT_OPTIONS:MXMMS}
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
mmit/Makefile?h=gstreamer&id=65e7f6f8f15fe1207add181453a6ed49a6fdf228'>MFsrc: Show stray files during "cvs update".ru2005-12-241-1/+1 * - Create a new category, net-im, for instant messaging applications.pav2005-11-081-0/+1 * Introduce new variable MASTER_SITE_INDEX, to allow mirroring ofkrion2004-12-171-1/+2 * As previously announced, remove ports/picobsd/ssh-picobsd due to long-linimon2004-11-291-1/+0 * Allow to override fetch option by $FETCHINDEX variable.kuriyama2004-11-161-1/+2 * - In fetchindex target:pav2004-11-161-1/+1 * * Be even more explicit about partial ports trees being unsupportedkris2004-07-141-17/+12 * Be more explicit about INDEX builds not being supported with partialkris2004-06-121-4/+5 * * Support verbose index builds with INDEX_VERBOSE [1]kris2004-06-101-2/+10 * Add "fetchindex" target. It fetches the recent index file (INDEX _or_netchild2004-05-251-0/+3 * - Allow processing of info files in non-standard locations; thekris2004-04-021-11/+35 * Say hello to the new "net-mgmt" category. There are probably morewollman2004-02-231-0/+1 * Tie x11-themes into the build now that it contains some ports.marcus2004-02-201-0/+1 * Tie accessibility to the build now that it has some ports.marcus2004-01-221-0/+1 * Tie arabic to the build now that it has some ports.marcus2003-11-091-0/+1 * Tie the dns category to the build now that it has some ports.marcus2003-08-301-0/+1 * Connect polish to the buildarved2003-08-191-0/+1 * Define the default SUP program to be cvsup.joe2003-07-121-0/+1 * With CVS_UPDATE, use read-only repository mode by default.ru2003-03-061-1/+1 * In a spirit of src/Makefile.inc1,v 1.142, get rid of "sticky"ru2003-03-051-1/+1 * Correct the bug in 'make index' that failed to substitute back thekris2003-02-241-1/+1 * I committed from the wrong tree, and the patch had a missingkris2002-12-051-1/+1 * Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) andkris2002-12-051-12/+12 * Merge in some changes from Tools/portbuild/scripts/makeindex: setkris2002-12-011-5/+8 * Add several new real categories.knu2002-11-181-0/+4 * Switch back to .tgz packages for 'parallel' target.kris2002-10-021-1/+1 * Switch to .tbz packages in generated makefile target.kris2002-09-161-1/+1 * Don't use cat(1) needlessly -- pipe the INDEX to awk(1).will2001-12-231-1/+1 * New category picobsd starts today.asami2001-04-231-0/+1 * Use single colons instead of double colons for "*-all" targets. I don't knowasami2001-03-251-2/+2 * Add new categories science and ukrainian.asami2001-03-251-0/+2 * Allow both SUP_UPDATE and CVS_UPDATE to be used, similar to src/Makefilejeh2000-11-011-5/+4 * For "make parallel", provide out an extra target without the ".tgz".asami2000-09-271-1/+1 * New category french starts today!asami2000-09-221-0/+1 * Use the SUPHOST in the 'make update' if it's defined.joe2000-08-131-0/+3 * Add new category hebrew -- Hebrew language support.asami2000-07-311-0/+1 * Typo (ghostscript55htff -> ghostscript55httf).asami2000-07-201-1/+6 * Change a couple of "make"s to "cd ${.CURDIR} && make"s, otherwise youasami2000-04-121-2/+2 * Additions to the 'make search' mechanism.joe2000-03-23