diff options
-rw-r--r-- | print/pdflib-lite/DESCR | 7 | ||||
-rw-r--r-- | print/pdflib-lite/Makefile | 31 | ||||
-rw-r--r-- | print/pdflib-lite/PLIST | 9 | ||||
-rw-r--r-- | print/pdflib-lite/buildlink3.mk | 19 | ||||
-rw-r--r-- | print/pdflib-lite/distinfo | 5 |
5 files changed, 71 insertions, 0 deletions
diff --git a/print/pdflib-lite/DESCR b/print/pdflib-lite/DESCR new file mode 100644 index 00000000000..0e651b8029c --- /dev/null +++ b/print/pdflib-lite/DESCR @@ -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 --git a/print/pdflib-lite/Makefile b/print/pdflib-lite/Makefile new file mode 100644 index 00000000000..f70f10c0a5c --- /dev/null +++ b/print/pdflib-lite/Makefile @@ -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 +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 --git a/print/pdflib-lite/PLIST b/print/pdflib-lite/PLIST new file mode 100644 index 00000000000..b19d08ded3b --- /dev/null +++ b/print/pdflib-lite/PLIST @@ -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 --git a/print/pdflib-lite/buildlink3.mk b/print/pdflib-lite/buildlink3.mk new file mode 100644 index 00000000000..0dfe9009819 --- /dev/null +++ b/print/pdflib-lite/buildlink3.mk @@ -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 --git a/print/pdflib-lite/distinfo b/print/pdflib-lite/distinfo new file mode 100644 index 00000000000..515e3b3a2fa --- /dev/null +++ b/print/pdflib-lite/distinfo @@ -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 |