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