From 0d462f83d51668b398116989aba69cb62464b8b0 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 1 Oct 2001 20:54:06 +0000 Subject: print/tcl-pdflib - Tcl language binding for the PDFlib library --- print/tcl-pdflib/Makefile | 35 +++++++++++++++++++++++++++++++++++ print/tcl-pdflib/pkg/DESCR | 1 + print/tcl-pdflib/pkg/PLIST | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 print/tcl-pdflib/Makefile create mode 100644 print/tcl-pdflib/pkg/DESCR create mode 100644 print/tcl-pdflib/pkg/PLIST (limited to 'print') diff --git a/print/tcl-pdflib/Makefile b/print/tcl-pdflib/Makefile new file mode 100644 index 00000000000..39625badd2a --- /dev/null +++ b/print/tcl-pdflib/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 20:54:06 jlam Exp $ + +.include "../pdflib/Makefile.common" + +PKGNAME= tcl-pdflib-${PDFLIB_VERS} +PDFLIB_PKG_VERS= # empty +COMMENT= Tcl interface to PDFlib for generating PDF files + +USE_BUILDLINK_ONLY= YES +BUILDLINK_DEPENDS.pdflib= pdflib>=${PDFLIB_DIST_VERS} + +CONFIGURE_ARGS+= --with-tcl=${TCLSH} +CONFIGURE_ARGS+= --with-tclincl="${BUILDLINK_DIR}/include" +TCLSH= ${LOCALBASE}/bin/tclsh + +DIRS_TO_BUILD= bind/tcl + +pre-build: + ${TOUCH} ${WRKSRC}/pdflib/libpdf.la + +do-build: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET} +.endfor + +do-install: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} +.endfor + +.include "../pdflib/buildlink.mk" +.include "../../lang/tcl/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/tcl-pdflib/pkg/DESCR b/print/tcl-pdflib/pkg/DESCR new file mode 100644 index 00000000000..444e8f20785 --- /dev/null +++ b/print/tcl-pdflib/pkg/DESCR @@ -0,0 +1 @@ +This package contains the Tcl language binding for the PDFlib library. diff --git a/print/tcl-pdflib/pkg/PLIST b/print/tcl-pdflib/pkg/PLIST new file mode 100644 index 00000000000..78e6e08491a --- /dev/null +++ b/print/tcl-pdflib/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/01 20:54:06 jlam Exp $ +lib/tcl8.3/pdflib/pdflib_tcl.a +lib/tcl8.3/pdflib/pdflib_tcl.la +lib/tcl8.3/pdflib/pdflib_tcl.so +lib/tcl8.3/pdflib/pdflib_tcl.so.2 +lib/tcl8.3/pdflib/pdflib_tcl.so.2.1 +lib/tcl8.3/pdflib/pkgIndex.tcl +@dirrm lib/tcl8.3/pdflib -- cgit v1.2.3