diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-29 20:42:04 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-29 20:42:04 +0800 |
commit | 42034a997e9bbb7dd2e66f6719377aebbe4c7abd (patch) | |
tree | 44dc0e86776cb3ba9a994d27c2ee2b7a934bcdd2 /misc/xosd | |
parent | ff094d05cd8d446e528963491389242e738416e1 (diff) | |
download | freebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.tar.gz freebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.tar.zst freebsd-ports-gnome-42034a997e9bbb7dd2e66f6719377aebbe4c7abd.zip |
Convert to new option framework
Diffstat (limited to 'misc/xosd')
-rw-r--r-- | misc/xosd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile index dd5e7c2c540c..4d07d8f03f74 100644 --- a/misc/xosd/Makefile +++ b/misc/xosd/Makefile @@ -34,11 +34,13 @@ MAN3= xosd.3 xosd_create.3 xosd_destroy.3 xosd_display.3 \ xosd_set_shadow_offset.3 xosd_set_vertical_offset.3 \ xosd_show.3 xosd_uninit.3 -OPTIONS= XMMS "Install XMMS-OSD plugin" on +OPTIONS_DEFINE= XMMS +OPTIONS_DEFAULT= XMMS +XMMS_DESC= Install XMMS-OSD plugin .include <bsd.port.pre.mk> -.if !defined(WITHOUT_XMMS) +.if ${PORT_OPTIONS:MXMMS} LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms \ gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf PLIST_SUB= WITH_XMMS="" @@ -54,4 +56,4 @@ pre-patch: @${REINPLACE_CMD} -e 's,^\(CFLAGS =\)\(.*\)$$,\1 -I.. \2,g' ${WRKSRC}/$f .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |