Update to latest version, fix distfile unfetchable. Also, I'd like to take maintainership on this port. Fix: PORTNAME= xcode -PORTVERSION= 1.0 -PORTREVISION= 1 -CATEGORIES= russian -MASTER_SITES= ftp://ftp.yars.free.net/pub/software/unix/util/text/ -DISTNAME= ${PORTNAME} +PORTVERSION= 4.1 +CATEGORIES= russian converters +MASTER_SITES= http://www.rusf.ru/books/yo/src/ +DISTNAME= xcodesrc -MAINTAINER= ports@FreeBSD.org -COMMENT= Auto detect encoding and convert to koi8, CP-1251 or cp866 +MAINTAINER= pankov_p@mail.ru +COMMENT= A program for converting russian encodings with care to letter YO PLIST_FILES= bin/xcode -USE_BZIP2= yes +USE_ZIP= yes + +NO_WRKSUBDIR= yes +MAKEFILE= makefile +ALL_TARGET= xcode do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/xcode ${PREFIX}/bin
Sorry, I sent the wrong patch. Here is the right one: diff -ruN --exclude=3DCVS /usr/ports/russian/xcode/Makefile /usr/home/pankovpv/xcode/Makefile --- /usr/ports/russian/xcode/Makefile Thu Feb 5 23:37:45 2004 +++ /usr/home/pankovpv/xcode/Makefile Thu Aug 10 00:00:45 2006 @@ -6,17 +6,21 @@ # PORTNAME=3D xcode -PORTVERSION=3D 1.0 -PORTREVISION=3D 1 -CATEGORIES=3D russian -MASTER_SITES=3D ftp://ftp.yars.free.net/pub/software/unix/util/text/ -DISTNAME=3D ${PORTNAME} +PORTVERSION=3D 4.1 +CATEGORIES=3D russian converters +MASTER_SITES=3D http://www.rusf.ru/books/yo/src/ +DISTNAME=3D xcodesrc -MAINTAINER=3D ports@FreeBSD.org -COMMENT=3D Auto detect encoding and convert to koi8, CP-1251 or = cp866 +MAINTAINER=3D pankov_p@mail.ru +COMMENT=3D A program for converting russian encodings with care = to letter YO PLIST_FILES=3D bin/xcode -USE_BZIP2=3D yes +USE_ZIP=3D yes + +NO_WRKSUBDIR=3D yes +MAKEFILE=3D makefile +ALL_TARGET=3D xcode +CFLAGS+=3D -DD_KOI do-install: @ ${INSTALL_PROGRAM} ${WRKSRC}/xcode ${PREFIX}/bin diff -ruN --exclude=3DCVS /usr/ports/russian/xcode/distinfo /usr/home/pankovpv/xcode/distinfo --- /usr/ports/russian/xcode/distinfo Fri Nov 25 20:44:36 2005 +++ /usr/home/pankovpv/xcode/distinfo Wed Aug 9 20:09:37 2006 @@ -1,3 +1,3 @@ -MD5 (xcode.tar.bz2) =3D 8a4c6223212f2f434843360d7ec7a138 -SHA256 (xcode.tar.bz2) =3D def3f9a0aac0985ab9df0739666e24a2760e8be7b87fde8289bb274ecc2b5df9 -SIZE (xcode.tar.bz2) =3D 3828 +MD5 (xcodesrc.zip) =3D fbff7da785d443e10bce504b0596ca8b +SHA256 (xcodesrc.zip) =3D 17f1fbb1d8c0ca3d8a90a475378221faae5f7fc46e90cba45cc7ac1ed188637a +SIZE (xcodesrc.zip) =3D 15599 diff -ruN --exclude=3DCVS /usr/ports/russian/xcode/files/patch-aa /usr/home/pankovpv/xcode/files/patch-aa --- /usr/ports/russian/xcode/files/patch-aa Sun Nov 9 18:23:22 2003 +++ /usr/home/pankovpv/xcode/files/patch-aa Thu Jan 1 03:00:00 1970 @@ -1,10 +0,0 @@ ---- Makefile.orig Sat Feb 19 22:02:36 2000 -+++ Makefile Sat Feb 19 22:02:45 2000 -@@ -10,7 +10,6 @@ - rm -f ${PROG} ${OBJ} ${SRC}~ - - ${PROG}: ${SRC} -- gcc -O6 -fno-strength-reduce -m486 -o ${PROG} ${SRC} - - install: ${PROG} - install -s -m 755 ${PROG} ${BINDIR} diff -ruN --exclude=3DCVS /usr/ports/russian/xcode/files/patch-makefile /usr/home/pankovpv/xcode/files/patch-makefile --- /usr/ports/russian/xcode/files/patch-makefile Thu Jan 1 = 03:00:00 1970 +++ /usr/home/pankovpv/xcode/files/patch-makefile Wed Aug 9 = 23:56:38 2006 @@ -0,0 +1,8 @@ +--- makefile.orig Sun Mar 7 03:33:35 2004 ++++ makefile Wed Aug 9 23:52:36 2006 +@@ -1,5 +1,4 @@ + xcode: xcode.c +- gcc -g xcode.c -DD_KOI -o $@ + dos: + cp xcode.c $(HOME)/dosemu/freedos.bcc/ + # =CB=CF=CD=D0=C9=CC=C9=D2=D5=C5=CD bcc 3.1 diff -ruN --exclude=3DCVS /usr/ports/russian/xcode/pkg-descr /usr/home/pankovpv/xcode/pkg-descr --- /usr/ports/russian/xcode/pkg-descr Sat Jan 29 08:41:53 2000 +++ /usr/home/pankovpv/xcode/pkg-descr Wed Aug 9 21:08:17 2006 @@ -1,2 +1,5 @@ -This program tries to determine input document encoding -and to convert it to koi8, CP-1251 or cp866. +Xcode automatically determines input file charset and converts it +to the necessary charset. The important feature of the program is +biunique charset conversion which protects your file from damages. + +WWW: http://www.rusf.ru/books/yo/xcode.html
Responsible Changed From-To: freebsd-ports-bugs->bsam Take.
Pavel, thanks for your effort to maintain the port! The last patch you submitted actually is not readable (not to say applyable). Please, try to create a new one. The best way to do it is to get a copy from cvs tree (cvs checkout <port>), do all changes you need and then create a patch using "cvs diff -uN". WBR -- bsam
State Changed From-To: open->feedback Awaiting for a feedback.
Thanks for your patience... Newly made patch is aviable at http://pankovpv.sovietservers.com/freebsd-ports/xcode.patch
State Changed From-To: feedback->closed Committed, thanks!