[26592] trunk/dports/devel
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 29 04:38:41 PDT 2007
Revision: 26592
http://trac.macosforge.org/projects/macports/changeset/26592
Author: afb at macports.org
Date: 2007-06-29 04:38:41 -0700 (Fri, 29 Jun 2007)
Log Message:
-----------
templating engine, used by rpm2html
Added Paths:
-----------
trunk/dports/devel/libtemplate/
trunk/dports/devel/libtemplate/Portfile
trunk/dports/devel/libtemplate/files/
trunk/dports/devel/libtemplate/files/patch-template.c
Added: trunk/dports/devel/libtemplate/Portfile
===================================================================
--- trunk/dports/devel/libtemplate/Portfile (rev 0)
+++ trunk/dports/devel/libtemplate/Portfile 2007-06-29 11:38:41 UTC (rev 26592)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem 1.0
+
+name libtemplate
+version 1.5
+revision 0
+platforms darwin freebsd
+categories sysutils
+maintainers afb at macports.org
+description HTML templating engine in C
+long_description \
+Separate your business logic from your interface with libtemplate. \
+Designed to be both fast and easy to use in your application. \
+Stop embedding HTML and speed your development.
+
+homepage http://www.lazarusid.com/libtemplate.shtml
+master_sites http://www.lazarusid.com/download/libs/
+checksums md5 9b01650c4f3e51efe9cbb6a1dddcf30d
+
+patchfiles patch-template.c
+
+use_configure no
+
+post-patch {
+ reinplace "s|/usr/local|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} template-engine.pdf test.c test.tpl \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/devel/libtemplate/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: trunk/dports/devel/libtemplate/files/patch-template.c
===================================================================
--- trunk/dports/devel/libtemplate/files/patch-template.c (rev 0)
+++ trunk/dports/devel/libtemplate/files/patch-template.c 2007-06-29 11:38:41 UTC (rev 26592)
@@ -0,0 +1,18 @@
+--- template.c.orig 2004-11-19 01:05:10.000000000 +0100
++++ template.c 2007-06-25 15:55:39.000000000 +0200
+@@ -35,7 +35,6 @@
+
+ if (!t) return;
+ if (t->name) {
+- fprintf(stderr, "tpl_delete - name\n");
+ free(t->name);
+ t->name = 0;
+ }
+@@ -43,7 +42,6 @@
+ tmp = n->next;
+ tpl_node_delete(n);
+ }
+- fprintf(stderr, "tpl_delete\n");
+ free(t);
+
+ }
Property changes on: trunk/dports/devel/libtemplate/files/patch-template.c
___________________________________________________________________
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070629/a823ca47/attachment.html
More information about the macports-changes
mailing list