From owner-svn-ports-head@FreeBSD.ORG Sun Jun 1 12:46:53 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6ED0E43; Sun, 1 Jun 2014 12:46:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B2A029C2; Sun, 1 Jun 2014 12:46:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s51CkrlK048003; Sun, 1 Jun 2014 12:46:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s51Ckr7p048002; Sun, 1 Jun 2014 12:46:53 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201406011246.s51Ckr7p048002@svn.freebsd.org> From: Pawel Pekala Date: Sun, 1 Jun 2014 12:46:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356112 - head/lang/mdk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 12:46:53 -0000 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@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 +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' \