Ticket #39989: Portfile

File Portfile, 1.7 KB (added by potmj (Michael Pot), 11 years ago)

First Portfile for HPGS

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
5
6name                hpgs
7version             1.1.8
8categories          graphics
9platforms           darwin
10maintainers         Michael  fmw at actrix , co , nz
11description         HPGl Script - a HPGL/2 interpreter/renderer
12
13long_description \
14      HPGS is a HPGL plotter language converter. features intended to include \n\
15      Interpretation of all modern HPGL/2 features. \n\
16      Handling of all paper formats. \n\
17      Processing of vector data through a Postscript like API. \n\
18      Output to native vector graphics formats such as eps. \n\
19      State of the art rendering to pixmaps including anti-aliasing. \n\
20      Processing of inlined PCL images.
21
22homepage            http://hpgs.berlios.de/
23# http://prdownload.berlios.de/hpgs/hpgs-1.1.8.tar.gz redirects to sourcefrge
24distname            ${name}-${version}
25# The normal site fails with macports, but works with wget.  It seems macports fails to follow the redirections
26master_sites        http://iweb.dl.sourceforge.net/project/hpgs.berlios/
27 
28checksums           rmd160  14a7f9b6b5a8d01d873fce2552e85e6c118610cf \
29                    sha256  0c2d673cf0a79e02b3dcf066984ec24e321667c374be87aeb994985568e68cfb
30
31depends_lib         port:libpng \
32                    port:gettext \
33                    port:libiconv
34
35patchfiles          patch-build-macosx-Makefile.diff \
36                    patch-src-hpgsimage.c.diff
37
38 
39# There is no configure script, already done by patching above. I guess this is the same as:- configure  {}
40use_configure       no
41
42pre-build           {  worksrcdir    ${worksrcdir}/build/macos-shared
43                       }