Ticket #47381: Portfile.2

File Portfile.2, 2.5 KB (added by michipili (Michael Grünewald), 6 years ago)
Line 
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
4PortSystem          1.0
5PortGroup           github 1.0
6
7name                bsdowl-devel
8github.setup        michipili bsdowl 3.0.0-20150401 v
9revision            0
10categories          devel
11platforms           darwin
12maintainers         gmail.com:michipili
13license             CeCILL-B
14supported_archs     noarch
15
16description         BSD Owl Scripts
17
18long_description    This collection of BSD Make directives aims at providing\
19                    a highly portable build system targetting modern UNIX   \
20                    systems and supporting common or less command languages.\
21                    This is a build system, which means that it can be used \
22                    to organise fairly complex projects.
23
24conflicts           bsdowl
25
26checksums           rmd160 c24a77c1a66378dc566aa4517d12dd4ed58d20d5 \
27                    sha256 bc6a5ae20b8e224693e3adfce79538a5d537e97d633d3f4fac0f91180faf40f0
28
29github.tarball_from releases
30use_xz              yes
31
32depends_lib         bin:awk:gawk bin:m4:m4
33
34configure.args      --with-credentials=sudo
35
36variant gm description {Support conversion of METAPOST pictures to PNG with GraphicsMagick} {
37    depends_lib-append      port:GraphicsMagick
38    configure.args-append   --with-gm
39}
40
41variant gpg description {Support signing of distribution files with GPG} {
42    depends_lib-append      port:gnupg2
43    configure.args-append   --with-gpg
44}
45
46variant noweb description {Support literate programming with noweb} {
47    depends_lib-append      port:noweb
48    configure.args-append   --with-noweb
49}
50
51variant ocaml description {Support preparation of OCaml projects} {
52    depends_lib-append      port:ocaml port:ocaml-findlib
53    configure.args-append   --with-ocaml --with-findlib
54}
55
56variant opensp description {Support static HTML pages generation with OpenSP} {
57    depends_lib-append      port:opensp
58    configure.args-append   --with-opensp
59}
60
61variant tex description {Support preparation of TeX documents} {
62    depends_lib-append      port:texlive-latex
63    configure.args-append   --with-tex
64}
65
66variant tidy description {Support use of tidy to canonise HTML pages} {
67    depends_lib-append      port:tidy
68    configure.args-append   --with-tidy
69}
70
71# use build.type bmake when available in a released version of MacPorts
72depends_build-append bin:bmake:bmake
73build.cmd           bmake _MAKE_ALLSUBTARGET='configure depend build doc'
74build.post_args     -r