ports/56215: Implementation of the utility "mapchan" from SCO Unix
Konstantin Reznichenko
kotadr at ua.fm
Sat Aug 30 22:50:59 UTC 2003
>Number: 56215
>Category: ports
>Synopsis: Utility "mapchan" of SCO Unix
>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: Sat Aug 30 15:50:19 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 at satellite.pb.dp.ua:/usr/src/sys/compile/SATELLITE i386
>Description:
Implementation of the utility "mapchan" from SCO Unix
>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:
#
# mapchan
# mapchan/Makefile
# mapchan/distinfo
# mapchan/pkg-descr
# mapchan/pkg-plist
# mapchan/files
# mapchan/files/patch-aa
# mapchan/files/patch-ab
#
echo c - mapchan
mkdir -p mapchan > /dev/null 2>&1
echo x - mapchan/Makefile
sed 's/^X//' >mapchan/Makefile << 'END-of-mapchan/Makefile'
X# New ports collection makefile for: Utility "mapchan" of SCO Unix
X# Date created: 7 August 2003
X# Whom: Konstantin Reznichenko <kot at premierbank.dp.ua>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mapchan
XPORTVERSION= 1.3
XCATEGORIES= sysutils converters
XMASTER_SITES= http://www.iceb.vinnitsa.com/download/ \
X http://freebsd.by.ru/fonts/
X
XMAINTAINER= kot at premierbank.dp.ua
XCOMMENT= Implementation of the utility "mapchan" from SCO Unix
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
Xpost-install:
X @${MKDIR} ${LOCALBASE}/etc/${PORTNAME}
X cd ${WRKSRC}/examples && \
X ${INSTALL_DATA} *.map ${LOCALBASE}/etc/${PORTNAME}
X.if !defined(NOPORTDOCS)
X.endif
X
X.include <bsd.port.mk>
END-of-mapchan/Makefile
echo x - mapchan/distinfo
sed 's/^X//' >mapchan/distinfo << 'END-of-mapchan/distinfo'
XMD5 (mapchan-1.3.tar.gz) = 3e0cbc5852ea3c84a316292d1018deb7
END-of-mapchan/distinfo
echo x - mapchan/pkg-descr
sed 's/^X//' >mapchan/pkg-descr << 'END-of-mapchan/pkg-descr'
Xmapchan - A program which allows you to transform the input and output
Xof a terminal (including a serial port terminal). It is useful when:
X
X * You need to work with various encodings on various virtual
X terminals
X * You have an assortment of terminals, not one of which supports
X your favorite encoding.
X
XThis software is an incomplete implementation of the functionality of
Xthe utility "mapchan" of SCO Unix.
END-of-mapchan/pkg-descr
echo x - mapchan/pkg-plist
sed 's/^X//' >mapchan/pkg-plist << 'END-of-mapchan/pkg-plist'
Xbin/mapchan
Xetc/mapchan/altkoi.map
Xetc/mapchan/dos2koi.map
Xetc/mapchan/koiualt.map
Xetc/mapchan/koiumain.map
Xetc/mapchan/sm7238.map
Xetc/mapchan/win2koi.map
X at dirrm etc/mapchan
END-of-mapchan/pkg-plist
echo c - mapchan/files
mkdir -p mapchan/files > /dev/null 2>&1
echo x - mapchan/files/patch-aa
sed 's/^X//' >mapchan/files/patch-aa << 'END-of-mapchan/files/patch-aa'
X--- Makefile.orig Sat Dec 23 09:47:25 2000
X+++ Makefile Thu Aug 7 00:43:27 2003
X@@ -11,7 +11,7 @@
X # (2) If your system has not basename() function - uncomment next string
X #DEFS+=-DNOBASENAME
X
X-BINDIR=/bin
X+BINDIR=/usr/local/bin
X LDFLAGS=-lutil
X #--------------------------------------------------------------
X CFLAGS += $(DEFS)
END-of-mapchan/files/patch-aa
echo x - mapchan/files/patch-ab
sed 's/^X//' >mapchan/files/patch-ab << 'END-of-mapchan/files/patch-ab'
X--- mapchan.c.orig Sat Dec 23 09:47:26 2000
X+++ mapchan.c Thu Aug 7 00:43:59 2003
X@@ -19,7 +19,7 @@
X #endif
X
X #ifndef CPATH
X- #define CPATH "/etc/mapchan"
X+ #define CPATH "/usr/local/etc/mapchan"
X #endif
X
X #define BUFSIZE 4096
END-of-mapchan/files/patch-ab
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list