source: trunk/dports/devel/gnat-booch95/Portfile

Last change on this file was 71533, checked in by ryandesign@…, 7 years ago

In the interest that all portfiles exemplify correct portfile writing techniques, remove slash before ${prefix} which is not needed because ${prefix} already begins with a slash

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2# $Id: Portfile 71533 2010-09-15 20:26:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gnat-booch95
7version             20090629
8revision            1
9platforms           darwin
10categories          devel
11maintainers         macports.org:krischik
12description         The Ada 95 Booch Components
13long_description    The Ada 95 Booch Components
14
15homepage            http://booch95.sourceforge.net
16master_sites        sourceforge:gnuada
17
18distfiles           bc-${version}.7z
19worksrcdir          bc-${version}
20
21checksums           md5     3e5c7443db6e5beb7cdfe3706c9d9226 \
22                    sha1    1fa7d43d59232375b03bc21a3fbbb6a873b8e22d \
23                    rmd160  5d61b3784ca1e3744acd8297946d299fd8bebfe2
24
25use_7z              yes
26use_parallel_build  yes
27use_configure       no
28
29depends_lib         port:gnat-gcc
30depends_build       port:p7zip
31
32build {
33    system "
34    pushd ${workpath}/${worksrcdir}/GNAT;
35        gnumake release;
36        gnumake debug;
37    popd;
38    "
39}
40
41destroot {
42    xinstall -m 775 -d ${destroot}${prefix}/lib/booch
43    xinstall -m 775 -d ${destroot}${prefix}/include/booch/src
44    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT
45    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release
46    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
47    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
48    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug
49    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
50    xinstall -m 775 -d ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
51
52    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}${prefix}/lib/booch
53    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/src/*]                             ${destroot}${prefix}/include/booch/src
54    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Makefile]                     ${destroot}${prefix}/include/booch/GNAT
55    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/booch_95.gpr]                 ${destroot}${prefix}/include/booch/GNAT
56    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/obj/*]    ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/obj
57    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Release/lib/*]    ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Release/lib
58    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/obj/*]      ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/obj
59    eval xinstall -m 664 [glob ${workpath}/${worksrcdir}/GNAT/Darwin-i686-Debug/lib/*]      ${destroot}${prefix}/include/booch/GNAT/Darwin-i686-Debug/lib
60}
61
62# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab :
63# vim: set textwidth=0 filetype=tcl foldmethod=marker nospell :
Note: See TracBrowser for help on using the repository browser.