ports/76201: [NEW PORT] textproc/clit: M$ .lit to html & Open eBooks converter
Ion-Mihai IOnut Tetcu
itetcu at people.tecnik93.com
Thu Jan 13 14:30:20 UTC 2005
>Number: 76201
>Category: ports
>Synopsis: [NEW PORT] textproc/clit: M$ .lit to html & Open eBooks converter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 13 14:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ion-Mihai "IOnut" Tetcu
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.3-STABLE #13: Tue Dec 28 12:22:13 EET 2004
>Description:
This program has three modes of operation:
- First, is ** EXPLOSION **, or the expanding of a .LIT file into an
OEBPS compliant package.
- Second, is the DOWNCONVERTING of a .LIT file down to "Sealed",
or DRM1 format for reading on handheld devices.
- Third, is the INSCRIBING of a .LIT file which allows you to label
your ebooks.
DRM5 is supported if you have a "keys.txt" file that contains
the private key(s) for your passport(s) in either the CLIT program
directory or the current directory.
This is a tool for **YOUR OWN FAIR USE** and not for stealing
other people's ebooks.
Please do not use this program to distrbute illegal copies of ebooks.
... that would make Baby Jesus sad.
>How-To-Repeat:
cd /usr/ports/textporc && sh clit-1.8.shar
where shar is the attached that you've saved there
>Fix:
--- clit-1.8.shar begins here ---
# 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:
#
# ./clit/
# ./clit/files
# ./clit/files/patch-clit_Makefile
# ./clit/Makefile
# ./clit/pkg-descr
# ./clit/distinfo
#
echo c - ./clit/
mkdir -p ./clit/ > /dev/null 2>&1
echo c - ./clit/files
mkdir -p ./clit/files > /dev/null 2>&1
echo x - ./clit/files/patch-clit_Makefile
sed 's/^X//' >./clit/files/patch-clit_Makefile << 'END-of-./clit/files/patch-clit_Makefile'
X--- Makefile.dist Wed Jan 12 03:16:29 2005
X+++ Makefile Wed Jan 12 03:17:07 2005
X@@ -1,9 +1,9 @@
X all: clit
X
X-CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
X+CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.33/ -I ../lib -I ../lib/des -I .
X clean:
X rm -f *.o clit
X
X clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a
X- gcc -o clit $^ ../libtommath-0.30/libtommath.a
X+ gcc -o clit $^ ../libtommath-0.33/libtommath.a
X
END-of-./clit/files/patch-clit_Makefile
echo x - ./clit/Makefile
sed 's/^X//' >./clit/Makefile << 'END-of-./clit/Makefile'
X# New ports collection makefile for: clit
X# Date created: 2005-01-11
X# Whom: Ion-Mihai "IOnut" Tetcu <itetcu at people.tecnik93.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= clit
XPORTVERSION= ${MAJ_VER}.${MIN_VER}
XCATEGORIES= textproc
XMASTER_SITES= http://www.convertlit.com/\
X http://math.libtomcrypt.org/files/:ltm
XDISTFILES= clit${MAJ_VER}${MIN_VER}src.zip \
X ltm-0.33.tar.bz2:ltm
XEXTRACT_ONLY= clit${MAJ_VER}${MIN_VER}src.zip
X
XMAINTAINER= itetcu at people.tecnik93.com
XCOMMENT= M$ .lit to html & Open eBooks converter
X
XPATCH_WRKSRC= ${WRKDIR}/${PORTNAME}${MAJ_VER}${MIN_VER}
XNO_WRKSUBDIR= yes
X
XMAJ_VER= 1
XMIN_VER= 8
X
XPLIST_FILES= bin/clit
X
XUSE_ZIP= yes
XUSE_REINPLACE= yes
XUSE_GMAKE= yes
X
Xpost-extract:
X cd ${WRKDIR} && ${BZIP2_CMD} -dc "${DISTDIR}/ltm-0.33.tar.bz2" | \
X ${TAR} -xf -
X
Xdo-build:
X cd ${WRKDIR}/libtommath-0.33 && \
X ${SETENV} ${MAKE_ENV} ${MAKE} -f makefile libtommath.a
X cd ${WRKDIR}/lib && ${SETENV} ${MAKE_ENV} ${GMAKE} -f Makefile all
X cd ${WRKDIR}/${PORTNAME}${MAJ_VER}${MIN_VER} && \
X ${SETENV} ${MAKE_ENV} ${GMAKE} -f Makefile all
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}${MAJ_VER}${MIN_VER}/clit \
X ${LOCALBASE}/bin
X
X.include <bsd.port.mk>
END-of-./clit/Makefile
echo x - ./clit/pkg-descr
sed 's/^X//' >./clit/pkg-descr << 'END-of-./clit/pkg-descr'
XThis program has three modes of operation:
X- First, is ** EXPLOSION **, or the expanding of a .LIT file into an
XOEBPS compliant package.
X- Second, is the DOWNCONVERTING of a .LIT file down to "Sealed",
Xor DRM1 format for reading on handheld devices.
X- Third, is the INSCRIBING of a .LIT file which allows you to label
Xyour ebooks.
X
XDRM5 is supported if you have a "keys.txt" file that contains
Xthe private key(s) for your passport(s) in either the CLIT program
Xdirectory or the current directory.
X
XThis is a tool for **YOUR OWN FAIR USE** and not for stealing
Xother people's ebooks.
X
XPlease do not use this program to distrbute illegal copies of ebooks.
X ... that would make Baby Jesus sad.
X
XWWW: http://www.convertlit.com/download.php
X
X- IOnut
X<itetcu at people.tecnik93.com>
END-of-./clit/pkg-descr
echo x - ./clit/distinfo
sed 's/^X//' >./clit/distinfo << 'END-of-./clit/distinfo'
XMD5 (clit18src.zip) = d691d4729485fe5d73e3f0937d8fb42e
XSIZE (clit18src.zip) = 135120
XMD5 (ltm-0.33.tar.bz2) = deaefdedd5078ab8995c728fd9fc369b
XSIZE (ltm-0.33.tar.bz2) = 1899564
END-of-./clit/distinfo
exit
--- clit-1.8.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list