17 | | long_description This collection of BSD Make directives can be used to \ |
18 | | create workflows including the following activities: \ |
19 | | Preparation and publication of TeX documents, \ |
20 | | Development of TeX macros with NOWEB, Development of \ |
21 | | OCaml software, Maintenance of a FreeBSD workstation \ |
22 | | configuration files, Preparation of a static website \ |
23 | | with ONSGMLS. |
| 25 | long_description This collection of BSD Make directives aims at providing\ |
| 26 | a highly portable build system targetting modern UNIX \ |
| 27 | systems and supporting common or less command languages.\ |
| 28 | This is a build system, which means that it can be used \ |
| 29 | to organise fairly complex projects. |
35 | | # use build.type bmake when available in a released version of MacPorts |
36 | | depends_build-append bin:bmake:bmake |
37 | | build.cmd bmake |
38 | | build.post_args -r |
| 49 | subport bsdowl-devel { |
| 50 | github.tarball_from releases |
| 51 | |
| 52 | checksums rmd160 ffd78139c1ed4c2f5108945fddb23bb0e95efc69 \ |
| 53 | sha256 83b69078231fadd2acd2b22dfed556f99b69e9a4bb7db47789d416c2f9cd53b4 |
| 54 | |
| 55 | depends_build-append bin:bmake:bmake |
| 56 | depends_lib-append bin:awk:gawk bin:m4:m4 |
| 57 | |
| 58 | # Not entirely sure what this does |
| 59 | configure.args-append --with-credentials=no |
| 60 | |
| 61 | # The configure script will auto-add any dependencies it finds. |
| 62 | configure.args-append --without-gm --without-gpg --without-noweb \ |
| 63 | --without-ocaml --without-findlib \ |
| 64 | --without-opensp --without-tex \ |
| 65 | --without-tidy |
| 66 | |
| 67 | # use build.type bmake when available in a released version of MacPorts |
| 68 | build.cmd bmake _MAKE_ALLSUBTARGET='configure depend build doc' |
| 69 | build.post_args -r |
| 70 | |
| 71 | variant gm description {Support conversion of METAPOST pictures to PNG with GraphicsMagick} { |
| 72 | depends_lib-append port:GraphicsMagick |
| 73 | configure.args-replace --without-gm --with-gm |
| 74 | } |
| 75 | |
| 76 | variant gpg description {Support signing of distribution files with GPG} { |
| 77 | depends_lib-append port:gnupg2 |
| 78 | configure.args-replace --without-gpg --with-gpg |
| 79 | } |
| 80 | |
| 81 | variant noweb description {Support literate programming with noweb} { |
| 82 | depends_lib-append port:noweb |
| 83 | configure.args-replace --without-noweb --with-noweb |
| 84 | } |
| 85 | |
| 86 | variant ocaml description {Support preparation of OCaml projects} { |
| 87 | depends_lib-append port:ocaml port:ocaml-findlib |
| 88 | configure.args-replace --without-ocaml --with-ocaml |
| 89 | configure.args-replace --without-findlib --with-findlib |
| 90 | } |
| 91 | |
| 92 | variant opensp description {Support static HTML pages generation with OpenSP} { |
| 93 | depends_lib-append port:opensp |
| 94 | configure.args-replace --without-opensp --with-opensp |
| 95 | } |
| 96 | |
| 97 | variant tex description {Support preparation of TeX documents} { |
| 98 | depends_lib-append port:texlive-latex |
| 99 | configure.args-replace --without-tex --with-tex |
| 100 | } |
| 101 | |
| 102 | variant tidy description {Support use of tidy to canonise HTML pages} { |
| 103 | depends_lib-append port:tidy |
| 104 | configure.args-replace --without-tidy --with-tidy |
| 105 | } |
| 106 | } |
| 107 | |