aboutsummaryrefslogtreecommitdiff
path: root/devel/xwpe
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-02-29 09:32:18 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-02-29 09:32:18 +0000
commitbfbaa15f894e3aaf3126a28b8585327c2f95c633 (patch)
treef52b3e472bd4e8183d4e21b60bb7bf912e73cd3b /devel/xwpe
parentbcd7e088251d051034ab1f61fad482b0188ddc32 (diff)
downloadports-bfbaa15f894e3aaf3126a28b8585327c2f95c633.tar.gz
ports-bfbaa15f894e3aaf3126a28b8585327c2f95c633.zip
Notes
Diffstat (limited to 'devel/xwpe')
-rw-r--r--devel/xwpe/Makefile14
-rw-r--r--devel/xwpe/distinfo2
-rw-r--r--devel/xwpe/files/patch-0272
-rw-r--r--devel/xwpe/files/patch-0526
-rw-r--r--devel/xwpe/files/patch-089
-rw-r--r--devel/xwpe/files/patch-0910
-rw-r--r--devel/xwpe/pkg-descr2
7 files changed, 93 insertions, 42 deletions
diff --git a/devel/xwpe/Makefile b/devel/xwpe/Makefile
index 6862b3cad73c..32ec27b5d399 100644
--- a/devel/xwpe/Makefile
+++ b/devel/xwpe/Makefile
@@ -1,17 +1,17 @@
# ex:ts=8
# Ports collection makefile for: xwpe
-# Version required: 1.5.18a
+# Version required: 1.5.22a
# Date created: Fri Jan 24, 1997
# Whom: David O'Brien (obrien@FreeBSD.org)
#
# $FreeBSD$
#
-DISTNAME= xwpe-1.5.19a
+DISTNAME= xwpe-1.5.22a
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
- http://www.rpi.edu/~payned/xwpe/ \
- ftp://identicalsoftware.com/pub/linux/xwpe/
+ http://www.identicalsoftware.com/xwpe/ \
+ ftp://ftp.identicalsoftware.com/pub/linux/xwpe/
MASTER_SITE_SUBDIR= apps/editors/X
MAINTAINER= obrien@FreeBSD.org
@@ -22,6 +22,8 @@ MAINTAINER= obrien@FreeBSD.org
MAKE_ENV= LD_LIBRARY_PATH="${X11BASE}/lib"
GNU_CONFIGURE= yes
CONFIGURE_ENV= LD_LIBRARY_PATH="${X11BASE}/lib"
+CONFIGURE_ARGS= --libdir=${PREFIX}/share
+USE_XLIB= yes
USE_GMAKE= yes
ALL_TARGET=
MAN1= xwpe.1
@@ -29,7 +31,7 @@ MLINKS= xwpe.1 xwe.1 \
xwpe.1 wpe.1 \
xwpe.1 we.1
-post-install:
- @strip ${PREFIX}/bin/xwpe
+pre-configure:
+ @${PERL} -pi.in -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/*.c
.include <bsd.port.mk>
diff --git a/devel/xwpe/distinfo b/devel/xwpe/distinfo
index 02c5f0e6f7f2..f85db224511d 100644
--- a/devel/xwpe/distinfo
+++ b/devel/xwpe/distinfo
@@ -1 +1 @@
-MD5 (xwpe-1.5.19a.tar.gz) = 957cc44494a84ef57e5033de908cc8a4
+MD5 (xwpe-1.5.22a.tar.gz) = 6f89fe3da57ac67fdff6297f078630b6
diff --git a/devel/xwpe/files/patch-02 b/devel/xwpe/files/patch-02
index 24ed0f867f0c..24dde24287fa 100644
--- a/devel/xwpe/files/patch-02
+++ b/devel/xwpe/files/patch-02
@@ -1,20 +1,64 @@
---- Makefile.in.orig Thu Feb 18 05:50:52 1999
-+++ Makefile.in Sat Feb 27 23:12:18 1999
-@@ -9,13 +9,15 @@
- #Destination Directory
- prefix=@prefix@
- DESTDIR= $(prefix)/bin
--LIBDIR= $(prefix)/lib
-+LIBDIR= $(prefix)/share
- XWPELIBDIR= $(LIBDIR)/xwpe
- MANDIR= $(prefix)/man
-+#INFODIR= $(prefix)/info
+--- Makefile.in.orig Mon Dec 27 08:11:38 1999
++++ Makefile.in Sat Feb 26 05:32:22 2000
+@@ -16,8 +16,10 @@
LIBS=@LIBS@
XLIBS=@X_LIBS@ @X_PRE_LIBS@ @X_EXTRA_LIBS@
--DEFS=@DEFS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\"
+-DEFS=@DEFS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\" -DSELECTION
+-INSTALL= cp
+DEFS=@DEFS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\" -DX_INC=\"@X_INC@\"
-+#DEFS=@DEFS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\" -DINFO_DIR=\"$(INFODIR)\" -DX_INC=\"@X_INC@\"
- INSTALL= cp
++INSTALL= @INSTALL@
++INSTALL_PROGRAM= @INSTALL_PROGRAM@
++INSTALL_DATA= @INSTALL_DATA@
LN_S= @LN_S@
+ # In case configure fails a description of many of the compilation options
+@@ -118,38 +120,29 @@
+ if test ! -d $(DESTDIR); then mkdir -p $(DESTDIR); fi
+ if test ! -d $(XWPELIBDIR); then mkdir -p $(XWPELIBDIR); fi
+ rm -f $(DESTDIR)/wpe $(DESTDIR)/xwpe $(DESTDIR)/we $(DESTDIR)/xwe
+- $(INSTALL) xwpe $(DESTDIR)/we
+- chmod ugo+x $(DESTDIR)/we
++ $(INSTALL_PROGRAM) xwpe $(DESTDIR)/we
+ (cd $(DESTDIR) && $(LN_S) we xwe)
+ (cd $(DESTDIR) && $(LN_S) we xwpe)
+ (cd $(DESTDIR) && $(LN_S) we wpe)
+ rm -f $(XWPELIBDIR)/help.xwpe
+ if test ! -f $(XWPELIBDIR)/syntax_def; then \
+- $(INSTALL) syntax_def $(XWPELIBDIR)/syntax_def; \
+- chmod ugo=r $(XWPELIBDIR)/syntax_def; fi
++ $(INSTALL_DATA) syntax_def $(XWPELIBDIR)/syntax_def; fi
+ if test ! -d $(MANDIR)/man1; then mkdir -p $(MANDIR)/man1; fi
+ rm -f $(MANDIR)/man1/xwpe.1 $(MANDIR)/man1/xwe.1
+ rm -f $(MANDIR)/man1/wpe.1 $(MANDIR)/man1/we.1
+- $(INSTALL) xwe.1 wpe.1 we.1 $(MANDIR)/man1
+- chmod ugo=r $(MANDIR)/man1/xwe.1
+- chmod ugo=r $(MANDIR)/man1/wpe.1 $(MANDIR)/man1/we.1
++ $(INSTALL_DATA) xwe.1 wpe.1 we.1 $(MANDIR)/man1
+ if test -f libxwpe-x11.so; then \
+- $(INSTALL) libxwpe-x11.so $(XWPELIBDIR)/libxwpe-x11.so; fi
++ $(INSTALL_DATA) libxwpe-x11.so $(XWPELIBDIR)/libxwpe-x11.so; fi
+ if test -f libxwpe-term.so; then \
+- $(INSTALL) libxwpe-term.so $(XWPELIBDIR)/libxwpe-term.so; fi
++ $(INSTALL_DATA) libxwpe-term.so $(XWPELIBDIR)/libxwpe-term.so; fi
+
+ install: install_fst
+- $(INSTALL) help.xwpe_eng $(XWPELIBDIR)/help.xwpe
+- chmod ugo=r $(XWPELIBDIR)/help.xwpe
+- $(INSTALL) help.key_eng $(XWPELIBDIR)/help.key
+- chmod ugo=r $(XWPELIBDIR)/help.key
+- $(INSTALL) xwpe.1_eng $(MANDIR)/man1/xwpe.1
+- chmod ugo=r $(MANDIR)/man1/xwpe.1
++ $(INSTALL_DATA) help.xwpe_eng $(XWPELIBDIR)/help.xwpe
++ $(INSTALL_DATA) help.key_eng $(XWPELIBDIR)/help.key
++ $(INSTALL_DATA) xwpe.1_eng $(MANDIR)/man1/xwpe.1
+
+ # German install uses old documention as no updated version is available
+ install_german: install_fst
+- $(INSTALL) old/we.help_gr $(XWPELIBDIR)/help.xwpe
+- chmod ugo=r $(XWPELIBDIR)/help.xwpe
+- $(INSTALL) old/xwpe.1_gr $(MANDIR)/man1/xwpe.1
+- chmod ugo=r $(MANDIR)/man1/xwpe.1
++ $(INSTALL_DATA) old/we.help_gr $(XWPELIBDIR)/help.xwpe
++ $(INSTALL_DATA) old/xwpe.1_gr $(MANDIR)/man1/xwpe.1
+
diff --git a/devel/xwpe/files/patch-05 b/devel/xwpe/files/patch-05
index 780d5ddab995..0c7dcb3b3486 100644
--- a/devel/xwpe/files/patch-05
+++ b/devel/xwpe/files/patch-05
@@ -1,6 +1,6 @@
---- we_prog.c.orig Sat Sep 5 06:57:18 1998
-+++ we_prog.c Sun Nov 8 01:53:20 1998
-@@ -15,6 +15,9 @@
+--- we_prog.c.orig Mon Dec 27 08:11:38 1999
++++ we_prog.c Sat Feb 26 07:48:25 2000
+@@ -16,6 +16,9 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <signal.h>
@@ -10,16 +10,16 @@
int e_run_sh(FENSTER *f);
int e_make_library(char *library, char *ofile, FENSTER *f);
-@@ -943,7 +946,11 @@
- e_prog.exedir = WpeStringMake(".");
- if (e_prog.sys_include) FREE(e_prog.sys_include);
- e_prog.sys_include =
-- WpeStringMake("/usr/include:/usr/local/include:/usr/include/X11");
-+ WpeStringMake("/usr/include:/usr/local/include"
+@@ -924,7 +927,11 @@
+ e_prog.exedir = WpeStrdup(".");
+ if (e_prog.sys_include) FREE(e_prog.sys_include);
+ e_prog.sys_include =
+- WpeStrdup("/usr/include:/usr/local/include:/usr/include/X11");
++ WpeStrdup("/usr/include:%%LOCALBASE%%/include"
+#if !defined(NO_XWINDOWS)
+ ":"X_INC
+#endif
-+ );
- if(e_prog.comp == NULL)
- e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *));
- else
++ );
+ if (e_prog.comp == NULL)
+ e_prog.comp = MALLOC(e_prog.num * sizeof(struct e_s_prog *));
+ else
diff --git a/devel/xwpe/files/patch-08 b/devel/xwpe/files/patch-08
index f1a0e72016a9..935e1a6b0de8 100644
--- a/devel/xwpe/files/patch-08
+++ b/devel/xwpe/files/patch-08
@@ -1,10 +1,13 @@
---- configure.orig Mon Nov 9 14:58:06 1998
-+++ configure Mon Nov 9 14:57:44 1998
-@@ -2459,6 +2459,7 @@
+--- configure.orig Mon Dec 27 08:11:38 1999
++++ configure Sat Feb 26 07:49:41 2000
+@@ -2604,6 +2604,10 @@
s%@X_PRE_LIBS@%$X_PRE_LIBS%g
s%@X_LIBS@%$X_LIBS%g
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
+s%@X_INC@%$x_includes%g
++s%@INSTALL@%$INSTALL%g
++s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
++s%@INSTALL_DATA@%$INSTALL_DATA%g
CEOF
EOF
diff --git a/devel/xwpe/files/patch-09 b/devel/xwpe/files/patch-09
index daa5c6922caf..cbfcb0c09d28 100644
--- a/devel/xwpe/files/patch-09
+++ b/devel/xwpe/files/patch-09
@@ -1,6 +1,6 @@
---- we_fl_unix.c.orig Fri May 7 22:34:29 1999
-+++ we_fl_unix.c Fri May 7 22:38:00 1999
-@@ -14,6 +14,10 @@
+--- we_fl_unix.c.orig Mon Dec 27 08:11:38 1999
++++ we_fl_unix.c Sat Feb 26 05:55:53 2000
+@@ -13,6 +13,10 @@
#include <sys/stat.h>
#include <errno.h>
@@ -11,14 +11,14 @@
struct dirfile *e_make_win_list(FENSTER * f);
extern char *e_tmp_dir;
extern int (*e_u_system) (char *exe);
-@@ -3549,7 +3553,13 @@
+@@ -3546,7 +3550,13 @@
if(getenv("MANPATH"))
strcpy(manpath, getenv("MANPATH"));
if(manpath[0] == '\0')
- strcpy(manpath, "/usr/man:/usr/local/man");
+ strcpy(manpath,
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
-+ "/usr/share/man:/usr/local/man");
++ "/usr/share/man:%%LOCALBASE%%/man");
+#else
+ "/usr/man:/usr/local/man");
+#endif
diff --git a/devel/xwpe/pkg-descr b/devel/xwpe/pkg-descr
index 64ce40d6504e..04d5bfb7c5b5 100644
--- a/devel/xwpe/pkg-descr
+++ b/devel/xwpe/pkg-descr
@@ -15,4 +15,6 @@ Note: there are both English and German language version of the manpages,
and helpfiles. The German language version will be installed if
"GERMAN_LANG" is set during ``make install'' of the port.
+WWW: http://www.identicalsoftware.com/xwpe/
+
-- David (obrien@FreeBSD.org)