Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 05:04:29 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302058 - head/lang/mdk
Message-ID:  <201208050504.q7554TN9038592@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Aug  5 05:04:29 2012
New Revision: 302058
URL: http://svn.freebsd.org/changeset/ports/302058

Log:
  - Update to 1.2.6
  
  PR:		170155
  Submitted by:	Ports Fury

Modified:
  head/lang/mdk/Makefile
  head/lang/mdk/distinfo
  head/lang/mdk/pkg-plist

Modified: head/lang/mdk/Makefile
==============================================================================
--- head/lang/mdk/Makefile	Sun Aug  5 05:03:43 2012	(r302057)
+++ head/lang/mdk/Makefile	Sun Aug  5 05:04:29 2012	(r302058)
@@ -7,25 +7,59 @@
 #
 
 PORTNAME=	mdk
-PORTVERSION=	1.2.1
-PORTREVISION=	12
+PORTVERSION=	1.2.6
 CATEGORIES=	lang gnome
-MASTER_SITES=	${MASTER_SITE_GNU:S/%SUBDIR%/${PORTNAME}\/v${PORTVERSION}/} \
-		SF
+MASTER_SITES=	GNU/${PORTNAME}/v${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A set of utilities for developing programs using MIX and MIXAL
 
-LIB_DEPENDS=	guile.21:${PORTSDIR}/lang/guile \
-		readline.6:${PORTSDIR}/devel/readline
+LICENSE=	GPLv3
 
-USE_GNOME=	libglade2
+OPTIONS_DEFINE=	GLADE GUILE
+OPTIONS_DEFAULT=GLADE GUILE
+
+USE_GNOME=	glib20 intltool
+USE_NCURSES=	yes
+USE_GETTEXT=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-nls
+MAKE_JOBS_SAFE=	yes
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 INFO=		mdk
+PLIST_FILES=	bin/mixasm \
+		bin/mixvm \
+		share/locale/de/LC_MESSAGES/mdk.mo \
+		%%DATADIR%%/mixal-mode.el \
+		%%DATADIR%%/mixvm.el
+PLIST_DIRS=	%%DATADIR%%
+
+.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
+
+.if exists(${LOCALBASE}/lib/libreadline.so)
+LIB_DEPENDS+=	readline:${PORTSDIR}/devel/readline
+.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \

Modified: head/lang/mdk/distinfo
==============================================================================
--- head/lang/mdk/distinfo	Sun Aug  5 05:03:43 2012	(r302057)
+++ head/lang/mdk/distinfo	Sun Aug  5 05:04:29 2012	(r302058)
@@ -1,2 +1,2 @@
-SHA256 (mdk-1.2.1.tar.gz) = c207a61e54a9d7777ef6666821113d55b211d1c652f13327d0cce6dfd473d3aa
-SIZE (mdk-1.2.1.tar.gz) = 1044323
+SHA256 (mdk-1.2.6.tar.gz) = 7fc1aedc68474bed93b3556bdb2acb7f4db6a5513829cf6504eaafc212187595
+SIZE (mdk-1.2.6.tar.gz) = 1103179

Modified: head/lang/mdk/pkg-plist
==============================================================================
--- head/lang/mdk/pkg-plist	Sun Aug  5 05:03:43 2012	(r302057)
+++ head/lang/mdk/pkg-plist	Sun Aug  5 05:04:29 2012	(r302058)
@@ -1,11 +0,0 @@
-bin/gmixvm
-bin/mixasm
-bin/mixguile
-bin/mixvm
-%%DATADIR%%/mixal-mode.el
-%%DATADIR%%/mixgtk.glade
-%%DATADIR%%/mixguile-commands.scm
-%%DATADIR%%/mixguile-vm-stat.scm
-%%DATADIR%%/mixguile.scm
-%%DATADIR%%/mixvm.el
-@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208050504.q7554TN9038592>