svn commit: r356112 - head/lang/mdk

Pawel Pekala pawel at FreeBSD.org
Sun Jun 1 12:46:53 UTC 2014


Author: pawel
Date: Sun Jun  1 12:46:53 2014
New Revision: 356112
URL: http://svnweb.freebsd.org/changeset/ports/356112
QAT: https://qat.redports.org/buildarchive/r356112/

Log:
  - Port is stage safe
  - Remove leading article from COMMENT
  - Use options helpers

Modified:
  head/lang/mdk/Makefile

Modified: head/lang/mdk/Makefile
==============================================================================
--- head/lang/mdk/Makefile	Sun Jun  1 12:41:12 2014	(r356111)
+++ head/lang/mdk/Makefile	Sun Jun  1 12:46:53 2014	(r356112)
@@ -7,13 +7,10 @@ CATEGORIES=	lang gnome
 MASTER_SITES=	GNU/${PORTNAME}/v${PORTVERSION}
 
 MAINTAINER=	ports at 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>
+OPTIONS_DEFINE=	GLADE GUILE
+OPTIONS_DEFAULT=GLADE GUILE
 
-.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
+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' \


More information about the svn-ports-head mailing list