source: trunk/dports/devel/ustl/Portfile

Last change on this file was 79279, checked in by jmr@…, 6 years ago

ustl: update to 1.5, fix build failure on 10.6 (#24984)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 79279 2011-06-08 07:17:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    ustl
6version                 1.5
7categories              devel
8platforms               darwin
9license                 MIT
10maintainers             nomaintainer
11description             micro-STL is a partial implementation of the STL specification
12long_description        uSTL (micro-STL) is a partial implementation of the STL \
13                                specification intended to reduce code size of the derivative \
14                                programs.
15
16homepage                http://ustl.sourceforge.net/
17master_sites    sourceforge
18checksums               md5 df48fd261e38ccb906c08bcb393af877 \
19                        sha1 8e31aa4c0b1d6ca640444678a8f7d0d3cc464015 \
20                        rmd160 0dd0fd1d2236ad86f8a20e220b0efeda48fa02bb
21use_bzip2               yes
22
23depends_build           port:gsed
24
25patchfiles              configure.diff Makefile.diff
26platform darwin {
27    patchfiles-append Config.mk.in.diff
28}
29
30configure.env           SED="${prefix}/bin/gsed"
31
32pre-destroot {
33        reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Config.mk
34        xinstall -d ${destroot}${prefix}/include/${name}
35}
36post-destroot {
37        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
38        xinstall -m 644 -W ${worksrcpath} LICENSE \
39                ${destroot}${prefix}/share/doc/${name}
40}
Note: See TracBrowser for help on using the repository browser.