pkgsrc-WIP-changes archive

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

XNedit: Import xnedit-1.2.3 as wip/xnedit



Module Name:	pkgsrc-wip
Committed By:	adr <adr%sdf.org@localhost>
Pushed By:	adr
Date:		Wed May 29 21:19:41 2019 +0100
Changeset:	50480a37af3b368d2472082f7fb6501c3b4b9314

Modified Files:
	Makefile
Added Files:
	xnedit/DESCR
	xnedit/Makefile
	xnedit/PLIST
	xnedit/distinfo
	xnedit/patches/patch-makefiles_Makefile.netbsd

Log Message:
XNedit: Import xnedit-1.2.3 as wip/xnedit

XNedit is a fast and classic X11 text editor, based on NEdit, with
full unicode support and antialiased text rendering.

NEdit is a standard GUI (Graphical User Interface) style text editor
for programs and plain-text files.  Users of Macintosh and MS
Windows based text editors should find NEdit a familiar and
comfortable environment.  NEdit provides all of the standard menu,
dialog, editing, and mouse support, as well as all of the standard
shortcuts to which the users of modern GUI based environments are
accustomed.  For users of older style Unix editors, welcome to the
world of mouse-based editing!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=50480a37af3b368d2472082f7fb6501c3b4b9314

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                       |  1 +
 xnedit/DESCR                                   | 11 ++++++
 xnedit/Makefile                                | 47 ++++++++++++++++++++++++++
 xnedit/PLIST                                   |  9 +++++
 xnedit/distinfo                                |  7 ++++
 xnedit/patches/patch-makefiles_Makefile.netbsd | 15 ++++++++
 6 files changed, 90 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0509fce1cc..13b28355f5 100644
--- a/Makefile
+++ b/Makefile
@@ -5014,6 +5014,7 @@ SUBDIR+=	xmms-skins
 SUBDIR+=	xmms-volnorm
 SUBDIR+=	xmms2
 SUBDIR+=	xmoto
+SUBDIR+=	xnedit	
 SUBDIR+=	xnee
 SUBDIR+=	xonotic
 SUBDIR+=	xoo
diff --git a/xnedit/DESCR b/xnedit/DESCR
new file mode 100644
index 0000000000..0e9de9f585
--- /dev/null
+++ b/xnedit/DESCR
@@ -0,0 +1,11 @@
+XNedit is a fast and classic X11 text editor, based on NEdit, with
+full unicode support and antialiased text rendering.
+
+NEdit is a standard GUI (Graphical User Interface) style text editor
+for programs and plain-text files.  Users of Macintosh and MS
+Windows based text editors should find NEdit a familiar and
+comfortable environment.  NEdit provides all of the standard menu,
+dialog, editing, and mouse support, as well as all of the standard
+shortcuts to which the users of modern GUI based environments are
+accustomed.  For users of older style Unix editors, welcome to the
+world of mouse-based editing!
diff --git a/xnedit/Makefile b/xnedit/Makefile
new file mode 100644
index 0000000000..a15a1ef362
--- /dev/null
+++ b/xnedit/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.59 2018/04/21 13:38:05 wiz Exp $
+
+DISTNAME=	xnedit-${VERS}
+CATEGORIES=	editors
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=xnedit/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://sourceforge.net/projects/xnedit/
+COMMENT=	Fork of NEdit with unicode support and antialiased text
+LICENSE=	gnu-gpl-v2
+VERS=		1.0.1
+
+WRKSRC=			${WRKDIR}/xnedit
+BUILD_TARGET=		netbsd
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PREFIX}/share/doc/xnedit
+
+SUBST_CLASSES+=                   fix-include
+SUBST_STAGE.fix-include=         pre-configure
+SUBST_MESSAGE.fix-include=        Fixing include Xft.h.
+SUBST_FILES.fix-include=          util/fontsel.c
+SUBST_FILES.fix-include+=         source/textP.h
+SUBST_FILES.fix-include+=         source/textDisp.h
+SUBST_FILES.fix-include+=         source/nedit.h
+SUBST_FILES.fix-include+=         Microline/XmL/XmL.c
+SUBST_SED.fix-include=            -e 's,<Xft/Xft.h>,<X11/Xft/Xft.h>,'
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/source/xnedit ${DESTDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/source/xnc ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/doc/xnedit.man \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xnedit.1
+	${INSTALL_MAN} ${WRKSRC}/doc/xnc.man \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xnedit-nc.1
+.for f in README ReleaseNotes
+	 ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
+.endfor
+.for f in faq.txt NEdit.ad
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/xnedit
+.endfor
+
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xnedit/PLIST b/xnedit/PLIST
new file mode 100644
index 0000000000..ab2c19bf09
--- /dev/null
+++ b/xnedit/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+bin/xnc
+bin/xnedit
+man/man1/xnedit-nc.1
+man/man1/xnedit.1
+share/doc/xnedit/NEdit.ad
+share/doc/xnedit/README
+share/doc/xnedit/ReleaseNotes
+share/doc/xnedit/faq.txt
diff --git a/xnedit/distinfo b/xnedit/distinfo
new file mode 100644
index 0000000000..84b314a3ce
--- /dev/null
+++ b/xnedit/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (xnedit-1.0.1.tar.gz) = 10ca8b314bd5bcddc1ba6df2476d3ef23fdd5028
+RMD160 (xnedit-1.0.1.tar.gz) = 51102a40931706cd5fba1ddbc69bd1ef2609d53e
+SHA512 (xnedit-1.0.1.tar.gz) = cb3ec4ff3ab2b1eb60331df3ed8dec820a5be604d0be2a278dd74809a296c29f96dea33c896d64a78f3742a4914f45346b9a88bbf15e0b838de73b0a2a144864
+Size (xnedit-1.0.1.tar.gz) = 1432971 bytes
+SHA1 (patch-makefiles_Makefile.netbsd) = ac2af4da7e0af0d36567b0a3036d32c589065a3f
diff --git a/xnedit/patches/patch-makefiles_Makefile.netbsd b/xnedit/patches/patch-makefiles_Makefile.netbsd
new file mode 100644
index 0000000000..b54ad2b3ac
--- /dev/null
+++ b/xnedit/patches/patch-makefiles_Makefile.netbsd
@@ -0,0 +1,15 @@
+$NetBSD$
+# Add system X11 include directory.
+
+--- makefiles/Makefile.netbsd.orig	2019-04-04 14:42:00.000000000 +0000
++++ makefiles/Makefile.netbsd
+@@ -10,7 +10,7 @@ AR=ar
+ # To test if the Motif library exports the runtime version
+ # add -DHAVE__XMVERSIONSTRING to CFLAGS
+ #
+-CFLAGS=-O -I/usr/pkg/include -I/usr/pkg/include/X11 -I/usr/X11R7/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM `pkg-config --cflags xft fontconfig`
+-LIBS= -L/usr/X11R7/lib -R/usr/X11R7/lib -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext `pkg-config --libs xft fontconfig`
++CFLAGS+=-DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DUSE_XMIM
++LIBS= ${LDFLAGS} ${MOTIFLIB} -liconv -lm -lXm -lXt -lSM -lICE -lX11 -lXrender -lXpm -lXext -lXft
+ 
+ include Makefile.common


Home | Main Index | Thread Index | Old Index