diff options
author | pawel <pawel@FreeBSD.org> | 2014-06-01 20:46:53 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-06-01 20:46:53 +0800 |
commit | a7f683815106c9b446575cd3abfa65248469d13f (patch) | |
tree | f29f62186300ec2d0b863cb7b9c3a9ec74d78898 /lang | |
parent | 3cb272093d11cccd7f1b6ed13db54412fe416783 (diff) | |
download | freebsd-ports-gnome-a7f683815106c9b446575cd3abfa65248469d13f.tar.gz freebsd-ports-gnome-a7f683815106c9b446575cd3abfa65248469d13f.tar.zst freebsd-ports-gnome-a7f683815106c9b446575cd3abfa65248469d13f.zip |
- Port is stage safe
- Remove leading article from COMMENT
- Use options helpers
Diffstat (limited to 'lang')
-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' \ |