Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 13:06:58 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357678 - in head/misc/xless: . files
Message-ID:  <201406131306.s5DD6w4K000860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jun 13 13:06:57 2014
New Revision: 357678
URL: http://svnweb.freebsd.org/changeset/ports/357678
QAT: https://qat.redports.org/buildarchive/r357678/

Log:
  - Add staging support
  - Switch to PLIST_FILES
  - Rename patches to canonical names

Added:
  head/misc/xless/files/patch-Imakefile
     - copied, changed from r357677, head/misc/xless/files/patch-aa
  head/misc/xless/files/patch-xless.h
     - copied, changed from r357677, head/misc/xless/files/patch-ab
Deleted:
  head/misc/xless/files/patch-aa
  head/misc/xless/files/patch-ab
  head/misc/xless/pkg-plist
Modified:
  head/misc/xless/Makefile

Modified: head/misc/xless/Makefile
==============================================================================
--- head/misc/xless/Makefile	Fri Jun 13 12:43:07 2014	(r357677)
+++ head/misc/xless/Makefile	Fri Jun 13 13:06:57 2014	(r357678)
@@ -16,8 +16,7 @@ USES=		imake
 USE_XORG=	ice sm x11 xaw xext xmu xpm xt
 MAKE_ARGS=	MAKE="${MAKE_CMD}"
 
-MAN1=		xless.1
-MANCOMPRESSED=	yes
+PLIST_FILES=	bin/xless lib/X11/xless.help lib/X11/app-defaults/XLess \
+		lib/X11/app-defaults/XLess-color man/man1/xless.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Copied and modified: head/misc/xless/files/patch-Imakefile (from r357677, head/misc/xless/files/patch-aa)
==============================================================================
--- head/misc/xless/files/patch-aa	Fri Jun 13 12:43:07 2014	(r357677, copy source)
+++ head/misc/xless/files/patch-Imakefile	Fri Jun 13 13:06:57 2014	(r357678)
@@ -1,5 +1,5 @@
---- Imakefile.orig	Thu Jun  2 16:22:14 1994
-+++ Imakefile	Fri Dec 27 18:52:23 1996
+--- ./Imakefile.orig	1994-06-03 01:22:14.000000000 +0200
++++ ./Imakefile	2014-06-13 14:51:12.981736817 +0200
 @@ -5,7 +5,8 @@
   *	-DPRINTCMD=\"/usr/ucb/lpr\"	- path to send file to printer
   *	-DTILDE_EXPANSION		- perform ~ expansion on filenames
@@ -10,7 +10,7 @@
  
  
             SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \
-@@ -24,7 +25,7 @@ LOCAL_LIBRARIES = -Lregexp -lregexp XawC
+@@ -24,10 +25,10 @@
  #define PassCDebugFlags
  #endif
  
@@ -18,4 +18,8 @@
 +NamedMakeSubdirs(./regexp/libregexp.a,$(SUBDIRS))
  ComplexProgramTarget(xless)
  
- InstallNonExec(xless.help, $(LIBDIR))
+-InstallNonExec(xless.help, $(LIBDIR))
++InstallNonExec(xless.help,$(LIBDIR))
+ InstallAppDefaults(XLess)
+ 
+ #if ProjectX >= 5

Copied and modified: head/misc/xless/files/patch-xless.h (from r357677, head/misc/xless/files/patch-ab)
==============================================================================
--- head/misc/xless/files/patch-ab	Fri Jun 13 12:43:07 2014	(r357677, copy source)
+++ head/misc/xless/files/patch-xless.h	Fri Jun 13 13:06:57 2014	(r357678)
@@ -1,32 +1,18 @@
-*** ../work/xless-1.7/xless.h	Mon Dec 23 15:57:37 1996
---- xless.h	Mon Dec 23 16:11:53 1996
-***************
-*** 38,50 ****
-  
-  #define XLESS_MAX_INPUT		256
-  
-! /* handle differences between K&R and ANSI C */
-  #if __STDC__
-  #define __P(a)	a
-  #else
-  #define __P(a)	()
-  #define const
-  #endif
-  
-  /*
-   * The default editor; make sure the file exists.
---- 38,51 ----
-  
-  #define XLESS_MAX_INPUT		256
-  
-! /* handle differences between K&R and ANSI C
-  #if __STDC__
-  #define __P(a)	a
-  #else
-  #define __P(a)	()
-  #define const
-  #endif
-+ */
-  
-  /*
-   * The default editor; make sure the file exists.
+--- ./xless.h.orig	1994-07-29 04:56:41.000000000 +0200
++++ ./xless.h	2014-06-13 14:48:54.067816752 +0200
+@@ -38,13 +38,14 @@
+ 
+ #define XLESS_MAX_INPUT		256
+ 
+-/* handle differences between K&R and ANSI C */
++/* handle differences between K&R and ANSI C
+ #if __STDC__
+ #define __P(a)	a
+ #else
+ #define __P(a)	()
+ #define const
+ #endif
++*/
+ 
+ /*
+  * The default editor; make sure the file exists.



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