Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2016 09:00:14 +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: r425715 - in head/x11-wm/wmanager: . files
Message-ID:  <201611080900.uA890E68010213@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov  8 09:00:13 2016
New Revision: 425715
URL: https://svnweb.freebsd.org/changeset/ports/425715

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/x11-wm/wmanager/Makefile
  head/x11-wm/wmanager/distinfo
  head/x11-wm/wmanager/files/patch-Makefile
  head/x11-wm/wmanager/files/patch-inc__WManager.H
  head/x11-wm/wmanager/files/patch-src__Interface.cc
  head/x11-wm/wmanager/files/patch-src__WManager.cc

Modified: head/x11-wm/wmanager/Makefile
==============================================================================
--- head/x11-wm/wmanager/Makefile	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/Makefile	Tue Nov  8 09:00:13 2016	(r425715)
@@ -11,29 +11,36 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}.ori
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	X11 window manager selector
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-PKGMESSAGE=	${WRKDIR}/pkg-message
-
 USES=		gmake
 USE_XORG=	x11 xext
 USE_GL=		gl
 
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
 OPTIONS_DEFINE=	ADDONS DOCS EXAMPLES
 OPTIONS_DEFAULT=ADDONS
-ADDONS_DESC=	Install the helper scripts and manpages
 OPTIONS_SUB=	yes
 
-ADDONS_RUNDEPENDS=	wmanager-loop:x11-wm/wmanager-addons
+ADDONS_DESC=		Install the helper scripts and manpages
+ADDONS_RUN_DEPENDS=	wmanager-loop:x11-wm/wmanager-addons
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in FAQ HISTORY INSTALL NEWS README TODO
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/.wmanagerrc ${STAGEDIR}${EXAMPLESDIR}/wmanagerrc_sample
 	${INSTALL_DATA} ${WRKSRC}/.xinitrc ${STAGEDIR}${EXAMPLESDIR}/xinitrc_sample

Modified: head/x11-wm/wmanager/distinfo
==============================================================================
--- head/x11-wm/wmanager/distinfo	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/distinfo	Tue Nov  8 09:00:13 2016	(r425715)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1476707858
 SHA256 (wmanager_0.2.1.orig.tar.gz) = 7974aa6bb15e4c0e8dcac42055a865e6151b920cd6aa2658ffa70ce33edf446c
 SIZE (wmanager_0.2.1.orig.tar.gz) = 25734

Modified: head/x11-wm/wmanager/files/patch-Makefile
==============================================================================
--- head/x11-wm/wmanager/files/patch-Makefile	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/files/patch-Makefile	Tue Nov  8 09:00:13 2016	(r425715)
@@ -1,6 +1,5 @@
-diff -urN -urN -x .svn ../vendor/wmanager/Makefile ./Makefile
---- ../vendor/wmanager/Makefile	2007-12-11 12:42:04.000000000 +0200
-+++ ./Makefile	2008-05-21 18:21:47.000000000 +0300
+--- Makefile.orig	1999-11-14 15:29:24 UTC
++++ Makefile
 @@ -28,39 +28,39 @@
  # make settings
  SHELL     = /bin/sh
@@ -61,7 +60,7 @@ diff -urN -urN -x .svn ../vendor/wmanage
  # documentational files for developer
  docdir    = ./doc
  templates = $(docdir)/templates
-@@ -82,8 +82,7 @@
+@@ -82,8 +82,7 @@ OBJ  = $(patsubst %.cc,%.o,$(SRC)) 
  # project version
  VERSION = 0.1.1
  
@@ -71,7 +70,7 @@ diff -urN -urN -x .svn ../vendor/wmanage
  
  wmanager: $(OBJ)
  	$(LD) -o $@ $^ $(LDDIRS) $(LDFLAGS) 
-@@ -92,7 +91,7 @@
+@@ -92,7 +91,7 @@ static: $(OBJ)
  	$(LD) -o wmanager $^ $(LDDIRS) $(LDFLAGS) -static
  
  install: wmanager

Modified: head/x11-wm/wmanager/files/patch-inc__WManager.H
==============================================================================
--- head/x11-wm/wmanager/files/patch-inc__WManager.H	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/files/patch-inc__WManager.H	Tue Nov  8 09:00:13 2016	(r425715)
@@ -1,7 +1,6 @@
-diff -urN -urN -x .svn ../vendor/wmanager/inc/WManager.H ./inc/WManager.H
---- ../vendor/wmanager/inc/WManager.H	2007-12-11 12:42:04.000000000 +0200
-+++ ./inc/WManager.H	2007-12-17 16:00:13.000000000 +0200
-@@ -80,17 +80,17 @@
+--- inc/WManager.H.orig	1999-11-14 15:28:36 UTC
++++ inc/WManager.H
+@@ -80,17 +80,17 @@ public:
    
  private:
    Interface* _Interface;

Modified: head/x11-wm/wmanager/files/patch-src__Interface.cc
==============================================================================
--- head/x11-wm/wmanager/files/patch-src__Interface.cc	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/files/patch-src__Interface.cc	Tue Nov  8 09:00:13 2016	(r425715)
@@ -1,5 +1,5 @@
---- src/Interface.cc.orig	Wed Nov 17 03:25:42 1999
-+++ src/Interface.cc	Sun Nov  2 02:38:20 2003
+--- src/Interface.cc.orig	1999-11-16 18:25:42 UTC
++++ src/Interface.cc
 @@ -23,6 +23,7 @@
  
  // SYSTEM INCLUDES //////////////////////////////////
@@ -16,7 +16,7 @@
  
  // logo image
  static unsigned char *image_mt[] = {
-@@ -130,10 +132,12 @@
+@@ -130,10 +132,12 @@ Interface::Interface()
  Interface::~Interface()
  {
    delete _WMWindow;

Modified: head/x11-wm/wmanager/files/patch-src__WManager.cc
==============================================================================
--- head/x11-wm/wmanager/files/patch-src__WManager.cc	Tue Nov  8 08:57:30 2016	(r425714)
+++ head/x11-wm/wmanager/files/patch-src__WManager.cc	Tue Nov  8 09:00:13 2016	(r425715)
@@ -1,6 +1,5 @@
-diff -urN -urN -x .svn ../vendor/wmanager/src/WManager.cc ./src/WManager.cc
---- ../vendor/wmanager/src/WManager.cc	2007-12-11 12:42:04.000000000 +0200
-+++ ./src/WManager.cc	2007-12-17 16:09:16.000000000 +0200
+--- src/WManager.cc.orig	1999-11-14 15:28:36 UTC
++++ src/WManager.cc
 @@ -24,8 +24,12 @@
  // SYSTEM INCLUDES /////////////////////////////////
  #include <string>                                 // standard string class
@@ -22,7 +21,7 @@ diff -urN -urN -x .svn ../vendor/wmanage
  
  // constructor
  WManager::WManager()
-@@ -302,7 +307,7 @@
+@@ -302,7 +307,7 @@ WManager::_TokenizeAndAddToBrowser(char*
      } else {
        fl_alert("Error near %s while parsing configuration file %s!"
  	       "Try to read on...",
@@ -31,7 +30,7 @@ diff -urN -urN -x .svn ../vendor/wmanage
      } // end if
    } // end if
  }
-@@ -310,7 +315,7 @@
+@@ -310,7 +315,7 @@ WManager::_TokenizeAndAddToBrowser(char*
  
  // cut rest from the beginning of str
  char*



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