pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/ce Update to 4.8. No changelog. From the diffs:
details: https://anonhg.NetBSD.org/pkgsrc/rev/5947aa735dcf
branches: trunk
changeset: 387666:5947aa735dcf
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Thu Nov 03 14:34:02 2022 +0000
description:
Update to 4.8. No changelog. From the diffs:
- Update maintainer email address
- Regenerate with Autoconf 2.61
- Remove --with-purify configure option
- Remove old malloc
- Improve build system
- Remove TODO
- Sprinkle missing return types
- Fix bugs
pkgsrc changes:
- Specify license
- Merge ce-doc (always installed) and ce-x11 (with the 'x11' option)
into this package
- Remove MAKE_JOBS_SAFE=no (seems fine)
- Comment patches and modernize patch filenames
diffstat:
editors/ce/Makefile | 39 ++++++++++++++------
editors/ce/Makefile.common | 23 ------------
editors/ce/PLIST | 8 +++-
editors/ce/distinfo | 12 +++---
editors/ce/options.mk | 14 +++++++
editors/ce/patches/patch-Makefile.in | 49 +++++++++++++++++++++++++
editors/ce/patches/patch-aa | 69 ------------------------------------
editors/ce/patches/patch-ab | 13 ------
editors/ce/patches/patch-teach-ce.in | 15 +++++++
9 files changed, 118 insertions(+), 124 deletions(-)
diffs (289 lines):
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/Makefile
--- a/editors/ce/Makefile Thu Nov 03 12:49:56 2022 +0000
+++ b/editors/ce/Makefile Thu Nov 03 14:34:02 2022 +0000
@@ -1,20 +1,35 @@
-# $NetBSD: Makefile,v 1.22 2014/10/09 14:06:32 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.23 2022/11/03 14:34:02 schmonz Exp $
+
+DISTNAME= ce-${VERSION}
+VERSION= 4.8
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.cwru.edu/pub/chet/
+MASTER_SITES+= ${HOMEPAGE}dist/
-.include "Makefile.common"
+MAINTAINER= schmonz%NetBSD.org@localhost
+HOMEPAGE= http://tiswww.case.edu/php/chet/
+COMMENT= Chet's Emacs: small, fast emacs-like editor
+LICENSE= public-domain AND trn-license
-PKGREVISION= 1
-COMMENT+= , tty version
+CONFLICTS+= ce-doc<=4.6
+CONFLICTS+= ce-x11<=4.6
-REPLACE_INTERPRETER+= bash
-REPLACE.bash.old= .*/bin/bash
-REPLACE.bash.new= ${SH}
-REPLACE_FILES.bash= teach-ce.in
+GNU_CONFIGURE= yes
+GNU_CONFIGURE_LIBDIR= ${PREFIX}/share/doc
+CONFIGURE_ARGS+= --without-ce-malloc
+
+#BUILD_TARGET= ce
+INSTALL_TARGET= all-install
-BUILD_TARGET= ce
-INSTALL_TARGET= install man-install
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/ce
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= teach-ce.in
+SUBST_VARS.paths= LN
+SUBST_SED.paths+= -e '1s,/bin/bash,'${SH:Q}','
+
+.include "options.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/Makefile.common
--- a/editors/ce/Makefile.common Thu Nov 03 12:49:56 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile.common,v 1.17 2017/01/19 18:52:08 agc Exp $
-#
-# used by editors/ce-x11/Makefile
-# used by editors/ce-doc/Makefile
-
-DISTNAME= ce-${VERSION}
-VERSION= 4.6
-CATEGORIES= editors
-MASTER_SITES= ftp://ftp.cwru.edu/pub/chet/
-MASTER_SITES+= http://tiswww.case.edu/php/chet/dist/
-
-MAINTAINER= schmonz%NetBSD.org@localhost
-HOMEPAGE= http://tiswww.case.edu/php/chet/
-COMMENT= Chet's Emacs: small, fast emacs-like editor
-
-MAKE_JOBS_SAFE= no
-
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_LIBDIR= ${PREFIX}/share/doc
-CONFIGURE_ARGS+= --without-ce-malloc
-
-PATCHDIR= ${.CURDIR}/../ce/patches
-DISTINFO_FILE= ${.CURDIR}/../ce/distinfo
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/PLIST
--- a/editors/ce/PLIST Thu Nov 03 12:49:56 2022 +0000
+++ b/editors/ce/PLIST Thu Nov 03 14:34:02 2022 +0000
@@ -1,3 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/08 19:59:08 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/03 14:34:02 schmonz Exp $
bin/ce
+bin/teach-ce
+${PLIST.x11}bin/xce
man/man1/ce.1
+${PLIST.x11}man/man1/xce.1
+share/doc/ce/FUNCTIONS
+share/doc/ce/TUTORIAL
+share/doc/ce/ce.help
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/distinfo
--- a/editors/ce/distinfo Thu Nov 03 12:49:56 2022 +0000
+++ b/editors/ce/distinfo Thu Nov 03 14:34:02 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:21:25 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/11/03 14:34:02 schmonz Exp $
-BLAKE2s (ce-4.6.tar.gz) = befa56dd455ecc536da8d9b7fe448c9d9e4277435b83b5edd4f385cb7213dce2
-SHA512 (ce-4.6.tar.gz) = 7555f54ff12249b147d0a57257ad21ed085535e3b9ab6a65f5a70985f49f28e66026d2130c5800aac7dc5a58a3b039c3bd7288c5b9d3f8c0cf28be565f73c0f5
-Size (ce-4.6.tar.gz) = 287489 bytes
-SHA1 (patch-aa) = 4d41f468071052a968c1547122a0639e56d4551f
-SHA1 (patch-ab) = d41e4ece57025fe0c65a7897e55e34b51717f659
+BLAKE2s (ce-4.8.tar.gz) = ae1950ce08aaf4e5e294cedfe935541e081f84c64720bce2bbbfabb7693e8c15
+SHA512 (ce-4.8.tar.gz) = 5481b3091ca2e799b592aaec5b05657a6b9546749d3311bd824e9e54df72adf8f41443bc4dcc8d84a6065448fefcc8ebae8c86203bb0fb9ec969a31367ceaa01
+Size (ce-4.8.tar.gz) = 354953 bytes
+SHA1 (patch-aa) = 84383dc89354835380c5fb968f062c1d7fdafcab
+SHA1 (patch-ab) = 044cc6137c7402e685ebfacfbd51eba55cec46b9
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ce/options.mk Thu Nov 03 14:34:02 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2022/11/03 14:34:02 schmonz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ce
+PKG_SUPPORTED_OPTIONS+= x11
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= x11
+.if !empty(PKG_OPTIONS:Mx11)
+PLIST.x11= yes
+BUILDLINK_DEPMETHOD.libXt?= build
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.endif
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/patches/patch-Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ce/patches/patch-Makefile.in Thu Nov 03 14:34:02 2022 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-Makefile.in,v 1.1 2022/11/03 14:34:02 schmonz Exp $
+
+Support DESTDIR and 'x11' option.
+
+--- Makefile.in.orig 2020-01-07 19:17:43
++++ Makefile.in
+@@ -94,11 +94,11 @@ LINTFLAGS= -chx
+ -DXCEVERSION='"$(XCEVERSION)"' -DHOSTINFO='"$(OS)"'
+
+ LINTFLAGS= -chx
+-DESTDIR= $(bindir)
+-MANDIR= $(man1dir)
++BINDIR= ${DESTDIR}$(bindir)
++MANDIR= ${DESTDIR}$(man1dir)
+
+ # DOCDIR must agree with the definition for LIBDIR in the source (see ce.h)
+-DOCDIR= $(libdir)/ce
++DOCDIR= ${DESTDIR}$(libdir)/ce
+
+ CFILES= basic.c bind.c buffer.c bug.c cinfo.c cmode.c \
+ complete.c dir.c display.c file.c fileio.c fio.c func.c \
+@@ -249,13 +249,11 @@ install: ${PROG} ${XPROG} installdirs
+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(DOCDIR)
+
+ install: ${PROG} ${XPROG} installdirs
+- -$(MV) ${DESTDIR}/${PROG} ${DESTDIR}/${PROG}.${OLDEXT}
+- $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)/${PROG}
++ $(INSTALL_PROGRAM) $(PROG) $(BINDIR)/${PROG}
+ @-if test "X$(XPROG)" != "X" ; then \
+- $(MV) ${DESTDIR}/${XPROG} ${DESTDIR}/${XPROG}.${OLDEXT}; \
+- $(INSTALL_PROGRAM) $(XPROG) $(DESTDIR)/${XPROG}; \
++ $(INSTALL_PROGRAM) $(XPROG) $(BINDIR)/${XPROG}; \
+ fi
+- $(INSTALL_SCRIPT) $(TEACHCE) $(DESTDIR)/$(TEACHCE)
++ $(INSTALL_SCRIPT) $(TEACHCE) $(BINDIR)/$(TEACHCE)
+
+ install-strip:
+ $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
+@@ -268,7 +266,9 @@ man-install: installdirs
+
+ man-install: installdirs
+ ${INSTALL_DATA} ${DOC_SRC}/ce.1 $(MANDIR)/ce.1
+- ${INSTALL_DATA} ${DOC_SRC}/xce.1 $(MANDIR)/xce.1
++ @-if test "X$(XPROG)" != "X" ; then \
++ ${INSTALL_DATA} ${DOC_SRC}/xce.1 $(MANDIR)/xce.1; \
++ fi
+
+ all-install: install doc-install man-install
+
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/patches/patch-aa
--- a/editors/ce/patches/patch-aa Thu Nov 03 12:49:56 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2010/01/29 19:43:37 joerg Exp $
-
---- Makefile.in.orig 2003-11-06 21:36:36.000000000 +0000
-+++ Makefile.in
-@@ -72,8 +72,8 @@ TEACHCE = teach-ce
- BACKUP = ce.bak
-
- LINTFLAGS= -chx
--DESTDIR= $(bindir)
--MANDIR= $(man1dir)
-+BINDIR= ${DESTDIR}$(bindir)
-+MANDIR= ${DESTDIR}$(man1dir)
-
- #
- # Systems like the NeXT that cannot use a non-libc malloc should comment
-@@ -81,7 +81,7 @@ MANDIR= $(man1dir)
- #
-
- # DOCDIR must agree with the definition for LIBDIR in the source (see ce.h)
--DOCDIR= $(libdir)/ce
-+DOCDIR= ${DESTDIR}$(libdir)/ce
-
- CFILES= basic.c bind.c buffer.c bug.c cinfo.c cmode.c \
- complete.c dir.c display.c file.c fileio.c fio.c func.c \
-@@ -233,29 +233,31 @@ backup:
- depend:
- makedepend -- $(CCFLAGS) -- $(CFILES)
-
--installdirs:
-- @${SHELL} $(SUPPORT_SRC)/mkdirs $(DESTDIR)
-- @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
-- @${SHELL} $(SUPPORT_SRC)/mkdirs $(DOCDIR)
--
--install: ${PROG} ${XPROG} installdirs
-- -$(MV) ${DESTDIR}/${PROG} ${DESTDIR}/${PROG}.${OLDEXT}
-- -$(MV) ${DESTDIR}/${XPROG} ${DESTDIR}/${XPROG}.${OLDEXT}
-- $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)/${PROG}
-- $(INSTALL_PROGRAM) $(XPROG) $(DESTDIR)/${XPROG}
-- $(INSTALL_SCRIPT) $(TEACHCE) $(DESTDIR)/$(TEACHCE)
-+install: ${PROG}
-+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(BINDIR)
-+ $(INSTALL_PROGRAM) $(PROG) $(BINDIR)/${PROG}
-+
-+install-x11: ${XPROG}
-+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(BINDIR)
-+ $(INSTALL_PROGRAM) $(XPROG) $(BINDIR)/${XPROG}
-
- install-strip:
- $(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
- prefix=${prefix} exec_prefix=${exec_prefix} install
-
--doc-install: man-install installdirs
-+doc-install:
-+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(DOCDIR)
- ${INSTALL_DATA} ${DOC_SRC}/TUTORIAL $(DOCDIR)/TUTORIAL
- ${INSTALL_DATA} ${DOC_SRC}/ce.help $(DOCDIR)/ce.help
- ${INSTALL_DATA} ${DOC_SRC}/FUNCTIONS $(DOCDIR)/FUNCTIONS
-+ $(INSTALL_SCRIPT) $(TEACHCE) $(BINDIR)/$(TEACHCE)
-
--man-install: installdirs
-+man-install:
-+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
- ${INSTALL_DATA} ${DOC_SRC}/ce.1 $(MANDIR)/ce.1
-+
-+man-install-x11:
-+ @${SHELL} $(SUPPORT_SRC)/mkdirs $(MANDIR)
- ${INSTALL_DATA} ${DOC_SRC}/xce.1 $(MANDIR)/xce.1
-
- all-install: install doc-install man-install
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/patches/patch-ab
--- a/editors/ce/patches/patch-ab Thu Nov 03 12:49:56 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2006/03/09 14:50:31 ghen Exp $
-
---- teach-ce.in.orig 2006-03-09 15:27:38.000000000 +0100
-+++ teach-ce.in
-@@ -34,7 +34,7 @@ esac
-
- export PATH
-
--LN="ln -s"
-+LN="@LN@ -s"
-
- TUTORIAL=@libdir@/ce/TUTORIAL
- CE="@bindir@/ce"
diff -r 535ebf0dae6e -r 5947aa735dcf editors/ce/patches/patch-teach-ce.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ce/patches/patch-teach-ce.in Thu Nov 03 14:34:02 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-teach-ce.in,v 1.1 2022/11/03 14:34:02 schmonz Exp $
+
+Substitute pkgsrc's best ${LN} for the platform.
+
+--- teach-ce.in.orig 1999-03-30 17:56:24
++++ teach-ce.in
+@@ -34,7 +34,7 @@ export PATH
+
+ export PATH
+
+-LN="ln -s"
++LN="@LN@ -s"
+
+ TUTORIAL=@libdir@/ce/TUTORIAL
+ CE="@bindir@/ce"
Home |
Main Index |
Thread Index |
Old Index