- add a hightlight pattern for diff files

adding this into the nedit code made antoine and my eyes bleed, without success.
so instead tell users how add it to their own nedit config file

ok ajacoutot@
This commit is contained in:
jasper 2009-12-13 22:39:38 +00:00
parent 19df8d0e1f
commit 52bbe1231b
4 changed files with 27 additions and 6 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.45 2009/11/08 16:24:34 jasper Exp $
# $OpenBSD: Makefile,v 1.46 2009/12/13 22:39:38 jasper Exp $
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
COMMENT= X11/Motif GUI text editor
DISTNAME= nedit-5.5
PKGNAME= ${DISTNAME}p6
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
PKGNAME= ${DISTNAME}p7
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
diff-2.1.pats.gz:1
PATCHFILES= wrapmark.diff:0
CATEGORIES= editors x11
@ -13,9 +14,11 @@ MASTER_SITES= http://www.nedit.org/ftp/v5_5/ \
${MASTER_SITE_SOURCEFORGE:=nedit/}
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
MASTER_SITES1= http://www.phil.uu.nl/~lievisse/distfiles/
HOMEPAGE= http://www.nedit.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -50,5 +53,7 @@ do-install:
${PREFIX}/lib/X11/app-defaults/NEdit
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
${INSTALL_DATA} ${WRKSRC}/doc/nedit.doc ${PREFIX}/share/doc/nedit
${INSTALL_DATA_DIR} ${PREFIX}/share/nedit/patterns
${INSTALL_DATA} ${WRKDIR}/diff-2.1.pats ${PREFIX}/share/nedit/patterns/diff.pats
.include <bsd.port.mk>

View File

@ -1,10 +1,15 @@
MD5 (diff-2.1.pats.gz) = CT556qM6uLVvHUVc7UAtxA==
MD5 (nedit-5.5-src.tar.gz) = Nh6Bw4CYxSMptZI8mGJwmA==
MD5 (wrapmark.diff) = ND/JW+ALY6PlIJBDhHzl0g==
RMD160 (diff-2.1.pats.gz) = 9mdAn9fyctyGZe/1sPIM4P8xhSI=
RMD160 (nedit-5.5-src.tar.gz) = n0nxyTZED9KmL6qMxuxiTErPWkM=
RMD160 (wrapmark.diff) = SK2+rNnjMxLNg6pdR7tLMbk4tRU=
SHA1 (diff-2.1.pats.gz) = K1TbW5L0Z8O2sflMlMzGuob6ebE=
SHA1 (nedit-5.5-src.tar.gz) = veQASQ9dKoQbFGt4BqrP8QWKUx0=
SHA1 (wrapmark.diff) = bWP8rvs6FtjbpPTSplPUmM2s3l4=
SHA256 (diff-2.1.pats.gz) = PTctzeMsWJK1VsbMwIkaaQ78RJog6scFSrRpRKXD27k=
SHA256 (nedit-5.5-src.tar.gz) = fNa7yd8VQhzM6Zj0xqzZZuCmRTxV6JegMN4TLggkP1I=
SHA256 (wrapmark.diff) = zVi6lmNskZwQ4zfIedeKFD//kbECfO/Hq8uocohGqO0=
SIZE (diff-2.1.pats.gz) = 914
SIZE (nedit-5.5-src.tar.gz) = 1503942
SIZE (wrapmark.diff) = 50327

View File

@ -0,0 +1,8 @@
Additional patterns for NEdit have been installed into:
${PREFIX}/share/nedit/patterns/
To load them into NEdit type:
nedit -import PATTERN_FILE.pats
The patterns can then be saved permanently into nedit's own resource
file by using Save Defaults from the Preferences menu.

View File

@ -1,10 +1,13 @@
@comment $OpenBSD: PLIST,v 1.6 2007/06/28 12:32:19 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.7 2009/12/13 22:39:38 jasper Exp $
@pkgpath ${BASE_PKGPATH}
@pkgpath ${BASE_PKGPATH},wrapmark
bin/ncl
bin/nedit
@bin bin/ncl
@bin bin/nedit
lib/X11/app-defaults/NEdit
@man man/man1/ncl.1
@man man/man1/nedit.1
share/doc/nedit/
share/doc/nedit/nedit.doc
share/nedit/
share/nedit/patterns/
share/nedit/patterns/diff.pats