summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/lasi/Makefile26
-rw-r--r--devel/lasi/distinfo3
-rw-r--r--devel/lasi/files/patch-Makefile.in11
-rw-r--r--devel/lasi/files/patch-src_drawGlyph.cpp34
-rw-r--r--devel/lasi/pkg-descr14
-rw-r--r--devel/lasi/pkg-plist6
6 files changed, 94 insertions, 0 deletions
diff --git a/devel/lasi/Makefile b/devel/lasi/Makefile
new file mode 100644
index 000000000..96bede8ea
--- /dev/null
+++ b/devel/lasi/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: lasi
+# Date created: June 2006
+# Whom: giffunip
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= lasi
+PORTVERSION= 1.0.5
+PORTREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= http://www.unifont.org/lasi/download/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= C++ stream output interface for creating Postscript documents
+
+USE_GCC= 3.2+
+USE_GNOME= pango pkgconfig
+USE_AUTOTOOLS= libltdl:15
+GNU_CONFIGURE= yes
+PKG_CONFIG_PATH= ${PREFIX}/libdata/pkgconfig
+CONFIGURE_ENV+= PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
+
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/devel/lasi/distinfo b/devel/lasi/distinfo
new file mode 100644
index 000000000..50ceccc5e
--- /dev/null
+++ b/devel/lasi/distinfo
@@ -0,0 +1,3 @@
+MD5 (lasi-1.0.5.tar.gz) = b9f766f0b262bd3a5365fa81aea47ed8
+SHA256 (lasi-1.0.5.tar.gz) = 06f0b9b7310fad2a19d7f20c2501c795173799f20a85dc0996c422de80ee0610
+SIZE (lasi-1.0.5.tar.gz) = 465931
diff --git a/devel/lasi/files/patch-Makefile.in b/devel/lasi/files/patch-Makefile.in
new file mode 100644
index 000000000..47d4b0c48
--- /dev/null
+++ b/devel/lasi/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu May 4 09:23:54 2006
++++ Makefile.in Sat Jun 10 23:10:22 2006
+@@ -199,7 +199,7 @@
+
+ SUBDIRS = src
+ include_HEADERS = include/LASi.h
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = ${exec_prefix}/libdata/pkgconfig
+ pkgconfig_DATA = lasi.pc
+ all: all-recursive
+
diff --git a/devel/lasi/files/patch-src_drawGlyph.cpp b/devel/lasi/files/patch-src_drawGlyph.cpp
new file mode 100644
index 000000000..18338e6e1
--- /dev/null
+++ b/devel/lasi/files/patch-src_drawGlyph.cpp
@@ -0,0 +1,34 @@
+--- src/drawGlyph.cpp.orig Wed Oct 4 16:21:41 2006
++++ src/drawGlyph.cpp Wed Oct 4 16:23:29 2006
+@@ -81,7 +81,7 @@
+ return 0;
+ }
+
+-static int moveTo(FT_Vector* pftVec, void* data) {
++static int moveTo(const FT_Vector* pftVec, void* data) {
+ StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
+ state->os() << (state->isNewPath() ? "newpath" : "closepath") << endl;
+ state->setNewPathFalse();
+@@ -89,19 +89,19 @@
+ return 0;
+ }
+
+-static int lineTo(FT_Vector* pftVec, void* data) {
++static int lineTo(const FT_Vector* pftVec, void* data) {
+ xTo(pftVec, data, "lineto");
+ return 0;
+ }
+
+-static int cubicTo(FT_Vector* ctrlPt1, FT_Vector* ctrlPt2, FT_Vector* pEndPt, void* data) {
++static int cubicTo(const FT_Vector* ctrlPt1, const FT_Vector* ctrlPt2, const FT_Vector* pEndPt, void* data) {
+ StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
+ state->os() << *ctrlPt1 << " " << *ctrlPt2 << " " << *pEndPt << " curveto" << endl;
+ state->setStartPt(*pEndPt);
+ return 0;
+ }
+
+-static int conicTo(FT_Vector* pCtrlPt, FT_Vector* pEndPt, void* data) {
++static int conicTo(const FT_Vector* pCtrlPt, const FT_Vector* pEndPt, void* data) {
+ StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
+ FT_Vector ctrlPt1 = (state->startPt() + 2 * *pCtrlPt) / 3;
+ FT_Vector ctrlPt2 = (*pEndPt + 2 * *pCtrlPt) / 3;
diff --git a/devel/lasi/pkg-descr b/devel/lasi/pkg-descr
new file mode 100644
index 000000000..afb7adcd2
--- /dev/null
+++ b/devel/lasi/pkg-descr
@@ -0,0 +1,14 @@
+LASi
+________
+libLASi is a library written by Larry Siden that provides a C++ stream
+output interface ( with operator << ) for creating Postscript documents
+that can contain characters from any of the scripts and symbol blocks
+supported in Unicode and by Owen Taylor's Pango layout engine. The
+library accomodates right-to-left scripts such as Arabic and Hebrew as
+easily as left-to-right scripts. Indic and Indic-derived Complex Text
+Layout (CTL) scripts, such as Devanagari, Thai, Lao, and Tibetan are
+supported to the extent provided by Pango and by the OpenType fonts
+installed on your system. All of this is provided without need for any
+special configuration or layout calculation on the programmer's part.
+
+WWW: http://www.unifont.org/lasi/
diff --git a/devel/lasi/pkg-plist b/devel/lasi/pkg-plist
new file mode 100644
index 000000000..e1b844523
--- /dev/null
+++ b/devel/lasi/pkg-plist
@@ -0,0 +1,6 @@
+include/LASi.h
+lib/libLASi.a
+lib/libLASi.la
+lib/libLASi.so
+lib/libLASi.so.0
+libdata/pkgconfig/lasi.pc