[55894] trunk/dports/www/cgilib/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Aug 20 14:49:10 PDT 2009
Revision: 55894
http://trac.macports.org/changeset/55894
Author: ryandesign at macports.org
Date: 2009-08-20 14:49:09 -0700 (Thu, 20 Aug 2009)
Log Message:
-----------
cgilib: update to 0.7. Now uses autotools but still needs a little help. Closes #19516
Modified Paths:
--------------
trunk/dports/www/cgilib/Portfile
Modified: trunk/dports/www/cgilib/Portfile
===================================================================
--- trunk/dports/www/cgilib/Portfile 2009-08-20 21:28:58 UTC (rev 55893)
+++ trunk/dports/www/cgilib/Portfile 2009-08-20 21:49:09 UTC (rev 55894)
@@ -3,7 +3,7 @@
PortSystem 1.0
name cgilib
-version 0.6
+version 0.7
categories www devel
maintainers nomaintainer
@@ -20,20 +20,20 @@
master_sites http://www.infodrom.org/projects/cgilib/download/
-checksums md5 392f00a4ce90426606efcb6ce705fd75
-use_configure no
+checksums md5 2c7053f58dfb06f7a80a112797ed7e86 \
+ sha1 a3c9c92f38dca10ee4e30ed1fa030401aa3fcabf \
+ rmd160 eceb4f77bccd4736757ecbcb5181f95ee2469804
-build.target ""
-build.args CFLAGS="-O3 -fPIC -I."
-post-build {
- system "ranlib ${worksrcpath}/libcgi.a"
+depends_build port:autoconf \
+ port:automake \
+ port:libtool
+
+pre-configure {
+ system "cd ${worksrcpath} && aclocal"
}
-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
+use_autoconf yes
+
+post-configure {
+ ln -sf ${prefix}/bin/glibtool ${worksrcpath}/libtool
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090820/4a4b0e46/attachment.html>
More information about the macports-changes
mailing list