mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add staging support
- Switch to PLIST_FILES - Rename patches to canonical names
This commit is contained in:
parent
26b352525b
commit
b8b6e6fc63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357678
@ -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>
|
||||
|
@ -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
|
@ -1,32 +0,0 @@
|
||||
*** ../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.
|
18
misc/xless/files/patch-xless.h
Normal file
18
misc/xless/files/patch-xless.h
Normal file
@ -0,0 +1,18 @@
|
||||
--- ./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.
|
@ -1,4 +0,0 @@
|
||||
bin/xless
|
||||
lib/X11/xless.help
|
||||
lib/X11/app-defaults/XLess
|
||||
lib/X11/app-defaults/XLess-color
|
Loading…
Reference in New Issue
Block a user