summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-01 20:54:06 +0000
committerjlam <jlam>2001-10-01 20:54:06 +0000
commit0d462f83d51668b398116989aba69cb62464b8b0 (patch)
tree9a09dc804554f27d8d4006b579b9d58b3683e8d0 /print
parentee35f0fc10c0e9799056072f9effd69b02e77fc7 (diff)
downloadpkgsrc-0d462f83d51668b398116989aba69cb62464b8b0.tar.gz
print/tcl-pdflib - Tcl language binding for the PDFlib library
Diffstat (limited to 'print')
-rw-r--r--print/tcl-pdflib/Makefile35
-rw-r--r--print/tcl-pdflib/pkg/DESCR1
-rw-r--r--print/tcl-pdflib/pkg/PLIST8
3 files changed, 44 insertions, 0 deletions
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