summaryrefslogtreecommitdiff
path: root/textproc/convertlit
diff options
context:
space:
mode:
authorwiz <wiz>2005-10-02 11:10:45 +0000
committerwiz <wiz>2005-10-02 11:10:45 +0000
commitd8fc2530161ccac684fa47e75b4f6a738295e3b8 (patch)
tree9b966d64c289d30804be2e8de0eecf2138e4e27d /textproc/convertlit
parent6e716b5678748d37ab8cd8824964ad8f425c013e (diff)
downloadpkgsrc-d8fc2530161ccac684fa47e75b4f6a738295e3b8.tar.gz
Initial import of convertlit:
Convert LIT, the program which allows you to convert Microsoft Legal Reader format eBooks into open format for use with software or devices which are not Download directly compatible with Microsoft's Reader. Approved by wennmach@
Diffstat (limited to 'textproc/convertlit')
-rw-r--r--textproc/convertlit/DESCR4
-rw-r--r--textproc/convertlit/Makefile33
-rw-r--r--textproc/convertlit/PLIST2
-rw-r--r--textproc/convertlit/distinfo6
-rw-r--r--textproc/convertlit/patches/patch-aa16
5 files changed, 61 insertions, 0 deletions
diff --git a/textproc/convertlit/DESCR b/textproc/convertlit/DESCR
new file mode 100644
index 00000000000..956fb6d00e2
--- /dev/null
+++ b/textproc/convertlit/DESCR
@@ -0,0 +1,4 @@
+Convert LIT, the program which allows you to convert Microsoft
+Legal Reader format eBooks into open format for use with software
+or devices which are not Download directly compatible with Microsoft's
+Reader.
diff --git a/textproc/convertlit/Makefile b/textproc/convertlit/Makefile
new file mode 100644
index 00000000000..c8e742b742d
--- /dev/null
+++ b/textproc/convertlit/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/02 11:10:45 wiz Exp $
+#
+# In order to ensure compliance with U.S. and international law, please
+# do not modify this file to provide pointers to the source or homepage
+# for this software or submit any PRs telling us the contents of the
+# HOMEPAGE or MASTER_SITES definitions in this Makefile.
+
+DISTNAME= clit18src
+PKGNAME= convertlit-1.8
+CATEGORIES= textproc
+MASTER_SITES= ${CONVERTLIT_MASTER_SITES}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= ${CONVERTLIT_HOMEPAGE}
+COMMENT= Convert Microsoft Legal Reader format eBooks into open format
+
+WRKSRC= ${WRKDIR}/clit18
+BUILD_DIRS= ${WRKDIR}/lib ${WRKSRC}
+MAKEFILE= makefile
+USE_TOOLS+= gmake
+
+RESTRICTED= Possible legal problems
+NO_SRC_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/clit ${PREFIX}/bin/convertlit
+
+.include "../../math/ltm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/convertlit/PLIST b/textproc/convertlit/PLIST
new file mode 100644
index 00000000000..c9c8959945a
--- /dev/null
+++ b/textproc/convertlit/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/02 11:10:45 wiz Exp $
+bin/convertlit
diff --git a/textproc/convertlit/distinfo b/textproc/convertlit/distinfo
new file mode 100644
index 00000000000..149356de2fc
--- /dev/null
+++ b/textproc/convertlit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/02 11:10:45 wiz Exp $
+
+SHA1 (clit18src.zip) = 0fa9aead468bd8640c49374d46d78d2a3e79489f
+RMD160 (clit18src.zip) = 6104a7d951ed60ea73705e401be8b55633ea2d47
+Size (clit18src.zip) = 135120 bytes
+SHA1 (patch-aa) = d50deb241742f37ea04fac726c278222daf8ce2c
diff --git a/textproc/convertlit/patches/patch-aa b/textproc/convertlit/patches/patch-aa
new file mode 100644
index 00000000000..e37aad847a1
--- /dev/null
+++ b/textproc/convertlit/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/02 11:10:45 wiz Exp $
+
+--- makefile.orig 2004-07-04 16:52:14.000000000 +0200
++++ makefile
+@@ -1,9 +1,9 @@
+ all: clit
+
+-CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
++CFLAGS+=-funsigned-char -Wall -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
+ clean:
+ rm -f *.o clit
+
+ clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a
+- gcc -o clit $^ ../libtommath-0.30/libtommath.a
++ gcc ${LDFLAGS} -o clit $^ -ltommath
+