Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 12:32:44 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335974 - in head/x11-wm/vtwm: . files
Message-ID:  <201312091232.rB9CWikc097206@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Mon Dec  9 12:32:44 2013
New Revision: 335974
URL: http://svnweb.freebsd.org/changeset/ports/335974

Log:
  - Update to 20130906 snapshot [1]
  - Use options helpers
  - Remove NLS knob, now it's runtime option
  
  PR:	ports/165913 (based on) [1]
  Submitted by:	Conrad J. Sabatier <conrads@cox.net> [1]

Deleted:
  head/x11-wm/vtwm/files/
Modified:
  head/x11-wm/vtwm/Makefile
  head/x11-wm/vtwm/distinfo   (contents, props changed)

Modified: head/x11-wm/vtwm/Makefile
==============================================================================
--- head/x11-wm/vtwm/Makefile	Mon Dec  9 12:18:28 2013	(r335973)
+++ head/x11-wm/vtwm/Makefile	Mon Dec  9 12:32:44 2013	(r335974)
@@ -2,39 +2,39 @@
 # $FreeBSD$
 
 PORTNAME=	vtwm
-PORTVERSION=	5.4.7
-PORTREVISION=	4
+PORTVERSION=	5.4.99.20130906
 CATEGORIES=	x11-wm
-MASTER_SITES=	SF http://www.vtwm.org/downloads/
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+PROJECTHOST=	ak-various-projects
 
 MAINTAINER=	ak@FreeBSD.org
 COMMENT=	Twm with a virtual desktop and optional Motif-like features
 
 LICENSE=	MIT
 
-USE_XORG=	x11 xext xpm xmu
-MAKEFILE=	${FILESDIR}/Makefile.bsd
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
-ETCDIR?=	${PREFIX}/etc
+USE_XZ=	yes
+
+USES=	pkgconfig
+
+GNU_CONFIGURE=	yes
+USE_XORG=	x11 xext xft xinerama xpm xmu xrandr
+
+WRKSRC=	${WRKDIR}/vtwm-20130906
 
 PLIST_FILES=	bin/vtwm \
+		bin/nexpm \
 		etc/system.vtwmrc \
 		man/man1/vtwm.1.gz
 
-OPTIONS_DEFINE=	SOUND NLS
-OPTIONS_DEFAULT=	SOUND NLS
+OPTIONS_DEFINE=	SOUND
+SOUND_DESC=	Sound support (via rplay)
 
-.include <bsd.port.options.mk>
+SOUND_CONFIGURE_ENABLE=	sound
+SOUND_LIB_DEPENDS=	librplay.so:${PORTSDIR}/audio/rplay
 
-.if ${PORT_OPTIONS:MSOUND}
-LIB_DEPENDS+=	librplay.so:${PORTSDIR}/audio/rplay
-MAKE_ENV+=	SOUND=yes
-.else
-MAKE_ENV+=	SOUND=no
-.endif
-
-.if ! ${PORT_OPTIONS:MNLS}
-CFLAGS+=	-DNO_I18N_SUPPORT
-.endif
+pre-patch:
+	@${REINPLACE_CMD} -e 's|\$${datadir}/X11/vtwm|\$${prefix}/etc|' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/x11-wm/vtwm/distinfo
==============================================================================
--- head/x11-wm/vtwm/distinfo	Mon Dec  9 12:18:28 2013	(r335973)
+++ head/x11-wm/vtwm/distinfo	Mon Dec  9 12:32:44 2013	(r335974)
@@ -1,2 +1,2 @@
-SHA256 (vtwm-5.4.7.tar.gz) = c62f692c42420666920a23cd489633e91789b379fed13561321b44d9ffa8c9e9
-SIZE (vtwm-5.4.7.tar.gz) = 1021160
+SHA256 (vtwm-5.4.99.20130906.tar.xz) = 90a9edc39bc5b43ae22d1eb3dfaf8890ad501fe79be5aabb8bb5476e4cfe08d9
+SIZE (vtwm-5.4.99.20130906.tar.xz) = 963540



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