Ticket #22402: Portfile

File Portfile, 2.3 KB (added by m.thon@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                    ipe-tools
6version                 20091019
7categories              graphics
8maintainers             nomaintainer
9description             Tools for the Ipe extensible drawing editor
10long_description        \
11                        The following tools for the Ipe extensible drawing \
12                        editor are provided: \
13                        - svgtoipe \
14                        - pdftoipe \
15                        - figtoipe \
16                        - ipe5toxml
17homepage                http://tclab.kaist.ac.kr/ipe/
18platforms               darwin
19master_sites            http://sourceforge.net/projects/ipe7/files/tools
20distfiles               svgtoipe-20091018${extract.suffix} \
21                        pdftoipe-20091014${extract.suffix} \
22                        figtoipe-20080517${extract.suffix} \
23                        ipe5toxml-20051114${extract.suffix}
24checksums               svgtoipe-20091018${extract.suffix} \
25                            md5 804701a5b01a49b7a0818022a9e002d5 \
26                            sha1 3ad43a6b9382c11dd457abb6e81f8ab040f335dd \
27                            rmd160 af86d6a4b2a3b68c16b17ec76bec12a7db5b3ee0 \
28                        pdftoipe-20091014${extract.suffix} \
29                            md5 2ed474254ff8ad1f8f48115e56acb691 \
30                            sha1 7179a12d677f2452726384e0dc2ae25c3f77dfaf \
31                            rmd160 82938e26a72989f12adf5a25d51699b5bde050e7 \
32                        figtoipe-20080517${extract.suffix} \
33                            md5 2db958443d8dc7e4a8f73d084e74177b \
34                            sha1 61aa001c8c32449dac374031108e20c29db2f8ea \
35                            rmd160 385a22e8b856c83b8a8169a3f9d87ef553ed7761 \
36                        ipe5toxml-20051114${extract.suffix} \
37                            md5 abd4731122aad4a7828cc429a3b7e01c \
38                            sha1 23cb8b40f1aa8a9bc4904d295b08fe0293cda7fc \
39                            rmd160 44c22367e3ef3cb4607310d15af51f527b006be0
40depends_lib             port:poppler \
41                        port:py26-pil
42use_configure           no
43use_parallel_build      no
44
45build {
46        system "cd ${workpath}/figtoipe-20080517; make"
47        system "cd ${workpath}/ipe5toxml; make"
48        system "export CPPFLAGS=-I${prefix}/include; export CFLAGS=-I${prefix}/include; cd ${workpath}/pdftoipe-20091014; make"     
49}
50
51destroot {
52        xinstall -d ${destroot}${prefix}/bin
53        xinstall -d ${destroot}${prefix}/share/man/man1
54        xinstall -m 755 ${workpath}/figtoipe-20080517/figtoipe ${destroot}${prefix}/bin
55        xinstall -m 644 ${workpath}/figtoipe-20080517/figtoipe.1 ${destroot}${prefix}/share/man/man1
56        xinstall -m 755 ${workpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin
57        xinstall -m 755 ${workpath}/pdftoipe-20091014/pdftoipe ${destroot}${prefix}/bin
58        xinstall -m 644 ${workpath}/pdftoipe-20091014/pdftoipe.1 ${destroot}${prefix}/share/man/man1
59        xinstall -m 755 ${workpath}/svgtoipe-20091018/svgtoipe ${destroot}${prefix}/bin
60}