pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/xwpe Initial import of xwpe-1.5.29a from pkgsr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39e538fa444c
branches:  trunk
changeset: 477603:39e538fa444c
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Jul 06 07:58:48 2004 +0000

description:
Initial import of xwpe-1.5.29a from pkgsrc-wip.

xwpe is a programming environment for UNIX systems writen by Fred Kruse.
The user interface mimics the Borland C and Pascal family of products for
MS-DOS. From within xwpe you can edit, compile, and debug programs.

diffstat:

 editors/xwpe/DESCR            |   3 +
 editors/xwpe/Makefile         |  21 +++++++++++
 editors/xwpe/PLIST            |  12 ++++++
 editors/xwpe/distinfo         |   5 ++
 editors/xwpe/patches/patch-aa |  76 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 117 insertions(+), 0 deletions(-)

diffs (137 lines):

diff -r f3acc7cb4420 -r 39e538fa444c editors/xwpe/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xwpe/DESCR        Tue Jul 06 07:58:48 2004 +0000
@@ -0,0 +1,3 @@
+xwpe is a programming environment for UNIX systems writen by Fred Kruse. 
+The user interface mimics the Borland C and Pascal family of products for 
+MS-DOS. From within xwpe you can edit, compile, and debug programs.
diff -r f3acc7cb4420 -r 39e538fa444c editors/xwpe/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xwpe/Makefile     Tue Jul 06 07:58:48 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/06 07:58:48 xtraeme Exp $
+#
+
+DISTNAME=      xwpe-1.5.29a
+CATEGORIES=    editors
+MASTER_SITES=  http://www.identicalsoftware.com/xwpe/
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://www.identicalsoftware.com/xwpe/
+COMMENT=       Programming environment for UNIX systems
+
+GNU_CONFIGURE=         yes
+USE_BUILDLINK3=                yes
+USE_GNU_TOOLS+=                make
+USE_NCURSES=           # tigetstr()
+USE_X11=               yes
+
+ALL_TARGET=            # defined
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f3acc7cb4420 -r 39e538fa444c editors/xwpe/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xwpe/PLIST        Tue Jul 06 07:58:48 2004 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/06 07:58:48 xtraeme Exp $
+bin/we
+bin/wpe
+bin/xwe
+bin/xwpe
+lib/xwpe/help.key
+lib/xwpe/help.xwpe
+man/man1/we.1
+man/man1/wpe.1
+man/man1/xwe.1
+man/man1/xwpe.1
+@dirrm lib/xwpe
diff -r f3acc7cb4420 -r 39e538fa444c editors/xwpe/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xwpe/distinfo     Tue Jul 06 07:58:48 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/06 07:58:48 xtraeme Exp $
+
+SHA1 (xwpe-1.5.29a.tar.gz) = 87b5045cff63225a310a0f4148bb04c46660c253
+Size (xwpe-1.5.29a.tar.gz) = 307545 bytes
+SHA1 (patch-aa) = ae0dabc0e22a651d0ea3c86b101efaa16468ee2c
diff -r f3acc7cb4420 -r 39e538fa444c editors/xwpe/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/xwpe/patches/patch-aa     Tue Jul 06 07:58:48 2004 +0000
@@ -0,0 +1,76 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/06 07:58:49 xtraeme Exp $
+
+--- Makefile.in.orig   2003-10-30 02:15:04.000000000 +0100
++++ Makefile.in        2003-10-30 02:21:43.000000000 +0100
+@@ -14,8 +14,7 @@
+ XWPELIBDIR=   $(LIBDIR)/xwpe
+ MANDIR=@mandir@
+ 
+-LIBS=@LIBS@
+-XLIBS=@X_LIBS@ @X_PRE_LIBS@ @X_EXTRA_LIBS@
++LIBS=${LDFLAGS}
+ DEFS=@DEFS@ -DLIBRARY_DIR=\"$(XWPELIBDIR)\" -DSELECTION
+ INSTALL=      cp
+ LN_S= @LN_S@
+@@ -91,11 +90,11 @@
+ 
+ xwpe: $(OFILES) $(X_OFILES) $(T_OFILES)
+       $(CC) $(CFLAGS) $(DEFS) $(OFILES) $(X_OFILES) $(T_OFILES) \
+-        $(LIBS) $(XLIBS) -o xwpe
++        $(LIBS) -lncurses -lX11 -o xwpe
+ #     $(CC) -Wl,-E $(CFLAGS) $(DEFS) $(OFILES) $(LIBS) -o xwpe
+ 
+ libxwpe-x11.so:       $(X_OFILES)
+-      $(CC) -shared $(X_OFILES) $(XLIBS) -o libxwpe-x11.so
++      $(CC) -shared $(X_OFILES) -lX11 -o libxwpe-x11.so
+ 
+ libxwpe-term.so:      $(T_OFILES)
+       $(CC) -shared $(T_OFILES) -o libxwpe-term.so
+@@ -115,36 +114,29 @@
+ # Bug Note: Currently xwpe and xwe are installed even if X windows versions
+ # are not compiled.  (They will function as wpe and we respectively.)
+ install_fst:  xwpe
+-      if test ! -d $(DESTDIR); then mkdir -p $(DESTDIR); fi
+-      if test ! -d $(XWPELIBDIR); then mkdir -p $(XWPELIBDIR); fi
++      if test ! -d $(DESTDIR); then ${BSD_INSTALL_DATA_DIR} $(DESTDIR); fi
++      if test ! -d $(XWPELIBDIR); then ${BSD_INSTALL_DATA_DIR} $(XWPELIBDIR); fi
+       rm -f $(DESTDIR)/wpe $(DESTDIR)/xwpe $(DESTDIR)/we $(DESTDIR)/xwe
+-      $(INSTALL) xwpe $(DESTDIR)/we
+-      chmod ugo+x $(DESTDIR)/we
++      ${BSD_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
+-      if test ! -d $(MANDIR)/man1; then mkdir -p $(MANDIR)/man1; fi
++        ${BSD_INSTALL_DATA} syntax_def $(XWPELIBDIR)/syntax_def; fi
++      if test ! -d $(MANDIR)/man1; then ${BSD_INSTALL_MAN_DIR} $(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 
++      ${BSD_INSTALL_MAN} xwe.1 wpe.1 we.1 $(MANDIR)/man1
+       if test -f libxwpe-x11.so; then \
+-        $(INSTALL) libxwpe-x11.so $(XWPELIBDIR)/libxwpe-x11.so; fi
++        ${BSD_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
++        ${BSD_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
++      ${BSD_INSTALL_DATA} help.xwpe_eng $(XWPELIBDIR)/help.xwpe
++      ${BSD_INSTALL_DATA} help.key_eng $(XWPELIBDIR)/help.key
++      ${BSD_INSTALL_DATA} xwpe.1_eng $(MANDIR)/man1/xwpe.1
+ 
+ # German install uses old documention as no updated version is available
+ install_german:       install_fst



Home | Main Index | Thread Index | Old Index