Thu May 15 20:06:03 2008 UTC ()
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(drochner)
diff -r0 -r1.1.1.1 pkgsrc/print/pdflib-lite/Makefile
diff -r0 -r1.1.1.1 pkgsrc/print/pdflib-lite/PLIST
diff -r0 -r1.1.1.1 pkgsrc/print/pdflib-lite/distinfo
diff -r0 -r1.1.1.1 pkgsrc/print/pdflib-lite/DESCR
diff -r0 -r1.1.1.1 pkgsrc/print/pdflib-lite/buildlink3.mk
# $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
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"
@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
$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
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.
# $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/+$//}