# $Id$ PortSystem 1.0 name cups-headers version 1.1.15 revision 1 categories devel platforms darwin maintainers nomaintainer description CUPS (Common Unix Printing System) headers for Panther (Mac OS X 10.3.x) long_description \ ${description} master_sites http://www.opensource.apple.com/projects/cups/ distname cups checksums md5 b2aed0b50372687a56f4e665fdd85bee configure {} build {} destroot { file mkdir ${destroot}${prefix}/share/doc file copy ${filespath}/README.cups-headers.txt ${destroot}${prefix}/share/doc } platform darwin 7 { build { system "perl -pi -e 's,includedir=/usr/include,includedir=${prefix}/include,' '${workpath}/${worksrcdir}/cups-config'" } destroot { system "install -d -m 755 '${destroot}${prefix}/bin'" system "install -c -m 755 '${workpath}/${worksrcdir}/cups-config' '${destroot}${prefix}/bin/'cups-config" system "cd '${workpath}/${worksrcdir}' && make installhdrs INCLUDEDIR='${destroot}${prefix}/include'" file mkdir ${destroot}${prefix}/share/doc/ file copy ${filespath}/README.cups-headers.txt ${destroot}${prefix}/share/doc } } livecheck.check none # No homepage, so we need to reset livecheck.url livecheck.url