[78596] users/pixilla/php
pixilla at macports.org
pixilla at macports.org
Fri May 13 10:48:43 PDT 2011
Revision: 78596
http://trac.macports.org/changeset/78596
Author: pixilla at macports.org
Date: 2011-05-13 10:48:42 -0700 (Fri, 13 May 2011)
Log Message:
-----------
php/pear-TCPDF: Add pear-TCPDF port. Looks like TCPDF is no longer being updated in the PEAR channel where I found it. I wanted to make use of the php5-pear include path so I kept it as a pear-* port.
Added Paths:
-----------
users/pixilla/php/pear-TCPDF/
users/pixilla/php/pear-TCPDF/Portfile
Added: users/pixilla/php/pear-TCPDF/Portfile
===================================================================
--- users/pixilla/php/pear-TCPDF/Portfile (rev 0)
+++ users/pixilla/php/pear-TCPDF/Portfile 2011-05-13 17:48:42 UTC (rev 78596)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name pear-TCPDF
+set name_package [string map {"pear-" ""} [string tolower ${name}]]
+version 5.9.078
+distname ${name_package}_[string map {"." "_"} ${version}]
+worksrcdir ${name_package}
+categories-append net www
+platforms darwin
+maintainers pixilla
+homepage http://www.pearhub.org/projects/TCPDF/
+master_sites sourceforge:project/tcpdf
+
+description TCPDF is a PHP class for generating PDF documents
+long_description TCPDF is a PHP class for generating PDF documents without requiring external \
+ extensions. TCPDF Supports UTF-8, Unicode, RTL languages and HTML.
+
+license LGPL
+
+# http://cdnetworks-us-1.dl.sourceforge.net/project/tcpdf/tcpdf_5_9_078.zip
+use_zip yes
+
+checksums sha1 81176315dd9a98642c076fb0727ff7f92e9ae056 \
+ rmd160 101aafcce00b07186a4678f652564243590548bf
+
+use_configure no
+
+build {}
+
+destroot {
+ xinstall -d ${destroot}${prefix}/lib/php/pear
+# puts ${worksrcpath}
+# puts ${destroot}${prefix}/lib/php/pear/${name_package}
+ copy ${worksrcpath} ${destroot}${prefix}/lib/php/pear/
+ system "echo '<?php' > ${destroot}${prefix}/lib/php/pear/tcpdf.php"
+ system "echo 'require_once(\"tcpdf/tcpdf.php\");' >> ${destroot}${prefix}/lib/php/pear/tcpdf.php"
+ system "echo '?>' >> ${destroot}${prefix}/lib/php/pear/tcpdf.php"
+}
\ No newline at end of file
Property changes on: users/pixilla/php/pear-TCPDF/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110513/cc98e0d6/attachment.html>
More information about the macports-changes
mailing list