1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name euler |
---|
7 | version 1.1 |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | license GPL |
---|
11 | maintainers inburke.com:kev |
---|
12 | |
---|
13 | description Command line tool for Project Euler |
---|
14 | long_description A tool to submit Project Euler problems |
---|
15 | homepage http://bitbucket.org/kevinburke/euler |
---|
16 | master_sites https://bitbucket.org/kevinburke/euler/downloads |
---|
17 | |
---|
18 | use_configure no |
---|
19 | |
---|
20 | checksums md5 2040fd7d1b56316a21317b5ff1078479 \ |
---|
21 | sha1 b16a614c130cb2fb31edfff06d6b0f59f8b9920b \ |
---|
22 | rmd160 e686a39893c14a4f7b3da6ed160f23dff9eaa9ea |
---|
23 | |
---|
24 | depends_lib port:jp2a \ |
---|
25 | port:ImageMagick \ |
---|
26 | port:py27-beautifulsoup |
---|
27 | |
---|
28 | pre-destroot { |
---|
29 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile |
---|
30 | reinplace "s|@@WORKSRCPATH@@|${worksrcpath}|g" ${worksrcpath}/Makefile |
---|
31 | } |
---|
32 | |
---|
33 | variant python25 conflicts python26 description {For use with python2.5} { |
---|
34 | depends_lib-delete port:py27-beautifulsoup |
---|
35 | depends_lib-append port:py25-beautifulsoup |
---|
36 | } |
---|
37 | |
---|
38 | variant python26 conflicts python25 description {For use with python2.6} { |
---|
39 | depends_lib-delete port:py27-beautifulsoup |
---|
40 | depends_lib-append port:py26-beautifulsoup |
---|
41 | } |
---|