diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-01 12:46:53 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-01 12:46:53 +0000 |
commit | 93bd830d2d9baa7bc4e1531a6924b2f1ed1b776f (patch) | |
tree | f29f62186300ec2d0b863cb7b9c3a9ec74d78898 /lang/mdk/Makefile | |
parent | a741276e9475f90d377d70a78cf9589d53fc2b63 (diff) | |
download | ports-93bd830d2d9baa7bc4e1531a6924b2f1ed1b776f.tar.gz ports-93bd830d2d9baa7bc4e1531a6924b2f1ed1b776f.zip |
Notes
Diffstat (limited to 'lang/mdk/Makefile')
-rw-r--r-- | lang/mdk/Makefile | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/lang/mdk/Makefile b/lang/mdk/Makefile index 3c8d0b987c2c..8e837f5cb5ef 100644 --- a/lang/mdk/Makefile +++ b/lang/mdk/Makefile @@ -7,13 +7,10 @@ CATEGORIES= lang gnome MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A set of utilities for developing programs using MIX and MIXAL +COMMENT= Set of utilities for developing programs using MIX and MIXAL LICENSE= GPLv3 -OPTIONS_DEFINE= GLADE GUILE -OPTIONS_DEFAULT=GLADE GUILE - USE_GNOME= glib20 intltool USES= gettext ncurses readline gmake pkgconfig GNU_CONFIGURE= yes @@ -29,26 +26,20 @@ PLIST_FILES= bin/mixasm \ %%DATADIR%%/mixvm.el PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGLADE} -USE_GNOME+= libglade2 -PLIST_FILES+= bin/gmixvm \ - %%DATADIR%%/mixgtk.glade -.else -CONFIGURE_ARGS+=--disable-gui -.endif - -.if ${PORT_OPTIONS:MGUILE} -LIB_DEPENDS+= guile:${PORTSDIR}/lang/guile -PLIST_FILES+= bin/mixguile \ - %%DATADIR%%/mixguile.scm \ - %%DATADIR%%/mixguile-commands.scm \ - %%DATADIR%%/mixguile-vm-stat.scm -.else -CONFIGURE_ARGS+=--without-guile -.endif +OPTIONS_DEFINE= GLADE GUILE +OPTIONS_DEFAULT=GLADE GUILE + +GLADE_CONFIGURE_ENABLE= gui +GLADE_USE= GNOME=libglade2 +GLADE_PLIST_FILES= bin/gmixvm \ + %%DATADIR%%/mixgtk.glade + +GUILE_CONFIGURE_WITH= guile +GUILE_LIB_DEPENDS= libguile.so:${PORTSDIR}/lang/guile +GUILE_PLIST_FILES= bin/mixguile \ + %%DATADIR%%/mixguile.scm \ + %%DATADIR%%/mixguile-commands.scm \ + %%DATADIR%%/mixguile-vm-stat.scm post-patch: @${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ |