# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $ PortSystem 1.0 name libtemplate version 1.5 revision 0 platforms darwin freebsd categories sysutils maintainers afb 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} }