Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 11:49:12 +0300
From:      "Konstantin Reznichenko" <kot@premierbank.dp.ua>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/53080: New port: ARJ archiver with Russian localization
Message-ID:  <002001c32e63$ffdf7360$8102a8c0@europe>
Resent-Message-ID: <200306090900.h5990PRS000576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53080
>Category:       ports
>Synopsis:       ARJ archiver with Russian localization
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 02:00:25 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Konstantin Reznichenko
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
PREMIERBANK
>Environment:
System: FreeBSD satellite.pb.dp.ua 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Tue
May 27 15:04:45 EEST 2003
kot@satellite.pb.dp.ua:/usr/src/sys/compile/SATELLITE i386

>Description:
    ARJ archiver with Russian localization

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# arj-ru
# arj-ru/Makefile
#
echo c - arj-ru
mkdir -p arj-ru > /dev/null 2>&1
echo x - arj-ru/Makefile
sed 's/^X//' >arj-ru/Makefile << 'END-of-arj-ru/Makefile'
X# New ports collection makefile for: ARJ archiver with Russian localization
X# Date created:   8 June 2003
X# Whom:    Konstantin Reznichenko <kot@premierbank.dp.ua>
X#
X# $FreeBSD$
X#
X
XCATEGORIES=     russian
X
XLANGUAGE= ru
XPKGNAMEPREFIX= ${LANGUAGE}-
XMASTERDIR= ${.CURDIR}/../arj
XBUILD_DEPENDS= iconv:${PORTSDIR}/converters/iconv
X
Xpre-configure:
X ${MV} ${WRKSRC}/arjdata.c ${WRKSRC}/arjdata.c.CP866
X ${LOCALBASE}/bin/iconv -c -s -f CP866 -t KOI8-R ${WRKSRC}/arjdata.c.CP866
> ${WRKSRC}/arjdata.c
X ${MV} ${WRKSRC}/packager.c ${WRKSRC}/packager.c.CP866
X ${LOCALBASE}/bin/iconv -c -s -f CP866 -t KOI8-R ${WRKSRC}/packager.c.CP866
> ${WRKSRC}/packager.c
X ${MV} ${WRKSRC}/resource/${LANGUAGE} ${WRKSRC}/resource/${LANGUAGE}.CP866
X ${MKDIR} ${WRKSRC}/resource/${LANGUAGE}
X -for i in `${FIND} ${WRKSRC}/resource/${LANGUAGE}.CP866 -type f -name
"*.txt"`; do \
X     i=`${BASENAME} $$i`; \
X     ${LOCALBASE}/bin/iconv -c -s -f CP866 -t KOI8-R
${WRKSRC}/resource/${LANGUAGE}.CP866/$$i >
${WRKSRC}/resource/${LANGUAGE}/$$i; \
X done
X ${MV} ${WRKSRC}/resource/resource.txt
${WRKSRC}/resource/resource.txt.CP866
X ${LOCALBASE}/bin/iconv -c -s -f CP866 -t KOI8-R
${WRKSRC}/resource/resource.txt.CP866 > ${WRKSRC}/resource/resource.txt
X for i in `${FIND} ${WRKSRC}/resource -type f -name "h*${LANGUAGE}.txt"`;
do \
X     ${MV} $$i $$i.CP866; \
X     i=`${BASENAME} $$i`; \
X     ${LOCALBASE}/bin/iconv -c -s -f CP866 -t KOI8-R
${WRKSRC}/resource/$$i.CP866 > ${WRKSRC}/resource/$$i; \
X done
X
X.include "${MASTERDIR}/Makefile"
END-of-arj-ru/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002001c32e63$ffdf7360$8102a8c0>