pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/pdflib-lite import pdflib-lite-7.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67e87803a563
branches:  trunk
changeset: 542421:67e87803a563
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Thu May 15 20:06:03 2008 +0000

description:
import pdflib-lite-7.0.3
This is a newer version of what we have as pkgsrc/print/pdflib, but
it comes with much unfriendlier licensing conditions (non-commercial
use only).
I've tested it with gnuplot. There is just some "dash patterns" support
added over pdflib4 afaics. So making it the default choice isn't worth
the hassle, but if you want to try it, here is it.

diffstat:

 print/pdflib-lite/DESCR         |   7 +++++++
 print/pdflib-lite/Makefile      |  31 +++++++++++++++++++++++++++++++
 print/pdflib-lite/PLIST         |   9 +++++++++
 print/pdflib-lite/buildlink3.mk |  19 +++++++++++++++++++
 print/pdflib-lite/distinfo      |   5 +++++
 5 files changed, 71 insertions(+), 0 deletions(-)

diffs (91 lines):

diff -r 8bcbc93cdaa7 -r 67e87803a563 print/pdflib-lite/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pdflib-lite/DESCR   Thu May 15 20:06:03 2008 +0000
@@ -0,0 +1,7 @@
+PDFlib is a library of C routines which allow you to programmatically
+generate files in Adobe's Portable Document Format PDF. PDFlib acts as
+a backend processor to your own programs. While you (the programmer) are
+responsible for retrieving or maintaining the data to be processed, PDFlib
+takes over the task of generating the PDF code which graphically represents
+your data.
+This version of PDFlib allows non-commercial use only.
diff -r 8bcbc93cdaa7 -r 67e87803a563 print/pdflib-lite/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pdflib-lite/Makefile        Thu May 15 20:06:03 2008 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $
+#
+
+DISTNAME=      PDFlib-Lite-7.0.3
+PKGNAME=       pdflib-lite-7.0.3
+CATEGORIES=    print
+MASTER_SITES=  http://www.pdflib.com/binaries/PDFlib/703/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.pdflib.com/
+COMMENT=       C library to produce PDF files
+
+CONFLICTS+=    pdflib-[0-9]*
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+CONFIGURE_ARGS+=       --with-tcl=no
+
+DOCDIR=                ${PREFIX}/share/doc/pdflib
+
+post-install:
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       cd ${WRKSRC}/doc/pdflib; for file in                            \
+               PDFlib-Lite-license.pdf                                 \
+               PDFlib-API-reference.pdf;                               \
+       do                                                              \
+               ${INSTALL_DATA} $${file} ${DOCDIR};                     \
+       done
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8bcbc93cdaa7 -r 67e87803a563 print/pdflib-lite/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pdflib-lite/PLIST   Thu May 15 20:06:03 2008 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $
+bin/pdfimage
+bin/pdflib-config
+bin/text2pdf
+include/pdflib.h
+lib/libpdf.la
+share/doc/pdflib/PDFlib-API-reference.pdf
+share/doc/pdflib/PDFlib-Lite-license.pdf
+@dirrm share/doc/pdflib
diff -r 8bcbc93cdaa7 -r 67e87803a563 print/pdflib-lite/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pdflib-lite/buildlink3.mk   Thu May 15 20:06:03 2008 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+PDFLIB_LITE_BUILDLINK3_MK:=    ${PDFLIB_LITE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    pdflib-lite
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Npdflib-lite}
+BUILDLINK_PACKAGES+=   pdflib-lite
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pdflib-lite
+
+.if ${PDFLIB_LITE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pdflib-lite+=    pdflib-lite>=7.0.3
+BUILDLINK_PKGSRCDIR.pdflib-lite?=      ../../print/pdflib-lite
+.endif # PDFLIB_LITE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH:S/+$//}
diff -r 8bcbc93cdaa7 -r 67e87803a563 print/pdflib-lite/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/pdflib-lite/distinfo        Thu May 15 20:06:03 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/05/15 20:06:03 drochner Exp $
+
+SHA1 (PDFlib-Lite-7.0.3.tar.gz) = f63950303de23b9c13e9fdf5d6aa6ecae1ddc542
+RMD160 (PDFlib-Lite-7.0.3.tar.gz) = 90f91e2ff08e0280dce63801899162411889f0b7
+Size (PDFlib-Lite-7.0.3.tar.gz) = 5898798 bytes



Home | Main Index | Thread Index | Old Index