# $Id: Portfile 36857 2008-05-16 21:23:36Z markd@macports.org $ PortSystem 1.0 name cgilib version 0.6 categories www devel maintainers nomaintainer description CGI Library long_description \ A simple library whose purpose is to \ provide an easy to use interface to CGI \ if you need to write your program in C \ instead of perl. homepage http://www.infodrom.org/projects/cgilib/ platforms darwin master_sites http://www.infodrom.org/projects/cgilib/download/ checksums md5 392f00a4ce90426606efcb6ce705fd75 use_configure no build.target "" build.args CFLAGS="-O3 -fPIC -I." post-build { system "ranlib ${worksrcpath}/libcgi.a" } destroot.args INSTALL_OPTS_LIB='-m 644 -p' destroot { xinstall -d -m 755 ${destroot}${prefix}/include \ ${destroot}${prefix}/lib ${destroot}${prefix}/man/man3 eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include eval xinstall -m 755 [glob ${worksrcpath}/libcgi*] ${destroot}${prefix}/lib eval xinstall -m 755 [glob ${worksrcpath}/*.3] ${destroot}${prefix}/share/man/man3 }