aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/Makefile1
-rw-r--r--print/pdf4tcl/Makefile35
-rw-r--r--print/pdf4tcl/distinfo2
-rw-r--r--print/pdf4tcl/pkg-descr5
4 files changed, 43 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 22f9bcbe6827..f5da822e81b7 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -214,6 +214,7 @@
SUBDIR += passivetex
SUBDIR += pcal
SUBDIR += pdf-renderer
+ SUBDIR += pdf4tcl
SUBDIR += pdfbox
SUBDIR += pdfcolorsplit
SUBDIR += pdfcube
diff --git a/print/pdf4tcl/Makefile b/print/pdf4tcl/Makefile
new file mode 100644
index 000000000000..a5af8af88485
--- /dev/null
+++ b/print/pdf4tcl/Makefile
@@ -0,0 +1,35 @@
+# Created by: gahr
+# $FreeBSD$
+
+PORTNAME= pdf4tcl
+PORTVERSION= 0.8
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_BERLIOS}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTFILES= ${PORTNAME}${PORTVERSION:S/.//}${EXTRACT_SUFX}/from_sourceforge
+
+MAINTAINER= tcltk@FreeBSD.org
+COMMENT= Pure Tcl library to generate PDF files
+
+RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/snit/snit.tcl:${PORTSDIR}/devel/tcllib
+
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//}
+
+NO_BUILD= yes
+PORTDOCS= *
+PLIST_FILES= lib/${PKGNAME}/glyph2uni.tcl \
+ lib/${PKGNAME}/pkgIndex.tcl \
+ lib/${PKGNAME}/pdf4tcl.tcl \
+ lib/${PKGNAME}/stdmetrics.tcl
+
+.include <bsd.port.options.mk>
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/${PKGNAME}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${PREFIX}/lib/${PKGNAME}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/print/pdf4tcl/distinfo b/print/pdf4tcl/distinfo
new file mode 100644
index 000000000000..8eeef95b2772
--- /dev/null
+++ b/print/pdf4tcl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pdf4tcl08.tar.gz/from_sourceforge) = 8a6dfc09fc8f27d86188ee16d9060e0031e0177f78108b6251f2e0726b510c9e
+SIZE (pdf4tcl08.tar.gz/from_sourceforge) = 84331
diff --git a/print/pdf4tcl/pkg-descr b/print/pdf4tcl/pkg-descr
new file mode 100644
index 000000000000..f7e31779f092
--- /dev/null
+++ b/print/pdf4tcl/pkg-descr
@@ -0,0 +1,5 @@
+This package provides a container class for generating pdf documents
+directly from Tcl scripts. It's self-contained and requires only the
+snit package from tcllib.
+
+WWW: http://pdf4tcl.berlios.de/