Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2015 15:22:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404662 - head/graphics/xmedcon
Message-ID:  <201512281522.tBSFM2W0038916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Dec 28 15:22:01 2015
New Revision: 404662
URL: https://svnweb.freebsd.org/changeset/ports/404662

Log:
  - Update to 0.14.1
  - Convert some bits to options helpers
  
  PR:		205622
  Submitted by:	jochen@jochen-neumeister.de

Modified:
  head/graphics/xmedcon/Makefile
  head/graphics/xmedcon/distinfo

Modified: head/graphics/xmedcon/Makefile
==============================================================================
--- head/graphics/xmedcon/Makefile	Mon Dec 28 15:18:16 2015	(r404661)
+++ head/graphics/xmedcon/Makefile	Mon Dec 28 15:22:01 2015	(r404662)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	xmedcon
-PORTVERSION=	0.13.0
-PORTREVISION=	3
+PORTVERSION=	0.14.1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/XMedCon-Source/${PORTVERSION}
 
@@ -32,6 +31,12 @@ OPTIONS_SUB=	yes
 
 X11_CONFIGURE_ENABLE=	gui
 X11_USE=		GNOME=gtk20
+X11_DESKTOP_ENTRIES=	"XMedCon" \
+			"" \
+			"${PREFIX}/etc/xmedcon.png" \
+			"${PORTNAME}" \
+			"" \
+			""
 
 GLIB_DESC=		With Glib
 GLIB_CONFIGURE_ENABLE=	glib
@@ -66,10 +71,6 @@ PNG_LIB_DEPENDS=	libpng.so:${PORTSDIR}/g
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MX11}
-DESKTOP_ENTRIES="XMedCon" "" "${PREFIX}/etc/xmedcon.png" "${PORTNAME}" "" ""
-.endif
-
 .if empty(PORT_OPTIONS:MACR_NEMA) || empty(PORT_OPTIONS:MDICOM)
 CONFIGURE_ARGS+=	--disable-acr
 .endif
@@ -86,12 +87,10 @@ post-patch:
 	@${REINPLACE_CMD} -e '/xmedcon.1/d' \
 		${WRKSRC}/man/Makefile.in
 
-post-install:
-.if ${PORT_OPTIONS:MX11}
+post-install-X11-on:
 .for file in xmedcon.png xmedconrc xmedconrc.linux
 	${INSTALL_DATA} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/man/xmedcon.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.endif
 
 .include <bsd.port.mk>

Modified: head/graphics/xmedcon/distinfo
==============================================================================
--- head/graphics/xmedcon/distinfo	Mon Dec 28 15:18:16 2015	(r404661)
+++ head/graphics/xmedcon/distinfo	Mon Dec 28 15:22:01 2015	(r404662)
@@ -1,2 +1,2 @@
-SHA256 (xmedcon-0.13.0.tar.bz2) = 66f402551c2c08f9779c6eb233a03f4f12c62c5b8b879f42058f0c320a71fd21
-SIZE (xmedcon-0.13.0.tar.bz2) = 801199
+SHA256 (xmedcon-0.14.1.tar.bz2) = a6d194bf44d3d6c96cd8d6e1ad586b5d5e20de1c09dbbb51c76f9e5fd4ae6949
+SIZE (xmedcon-0.14.1.tar.bz2) = 806103



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