Gregor Best <g...@unobtanium.de> writes: > Hi people,
Hi, > in line with the current "Add UTF-8 support to everything"-movement, I'd > like to propose the attached patch for the textproc/par port. I use par > to format my email messages (this one included), and I love to use > umlauts, which can be a bit cumbersome with regular par. The patch adds > the UTF-8 patch from [0]. > > I've tested the patch with the example from [0] and a few emails, both > with and without umlauts, and it seems to work fine. Sounds fine but see below for an alternative patch. > If it's okay with everyone, I'd also like to take MAINTAINER of the port > since it currently looks orphaned. Same here. > [0]: > http://sysmic.org/dotclear/index.php?post/2006/06/22/55-add-multibyte-characters-support-in-par bsd.port.mk can fetch and apply external patches as well. What about this version? Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/par/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 16 Feb 2015 22:57:13 -0000 1.20 +++ Makefile 9 Dec 2015 17:51:16 -0000 @@ -5,16 +5,21 @@ COMMENT= paragraph reflow for email VERSION= 1.52 DISTNAME= Par${VERSION:S/.//} PKGNAME= par-${VERSION} -REVISION = 0 +REVISION = 1 CATEGORIES= textproc HOMEPAGE= http://www.nicemice.net/par/ +MAINTAINER= Gregor Best <g...@unobtanium.de> + # custom PERMIT_PACKAGE_CDROM= Yes WANTLIB= c MASTER_SITES= ${HOMEPAGE} + +PATCHFILES= par_1.52-i18n.3.diff.gz +PATCH_DIST_STRIP= -p1 ALL_TARGET= Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/par/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 18 Jan 2015 03:15:29 -0000 1.4 +++ distinfo 9 Dec 2015 17:51:16 -0000 @@ -1,2 +1,4 @@ SHA256 (Par152.tar.gz) = M9za6QX0tCZ7TcHz77Ay15cFyo0hIuF+/ez9gWIGcII= +SHA256 (par_1.52-i18n.3.diff.gz) = zC4seUO3PZ6ok3F/Zp7H8WZRiN2L7dRa6soCfDCwVrs= SIZE (Par152.tar.gz) = 47999 +SIZE (par_1.52-i18n.3.diff.gz) = 24302 -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE