Ticket #38281: Portfile

File Portfile, 1.8 KB (added by howarth@…, 11 years ago)

Portfile for maloc 1.5 package to be added to devel

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: Portfile 98308 2012-10-02 19:41:37Z macsforever2000@macports.org $
3
4PortSystem          1.0
5PortGroup           muniversal 1.0
6
7name                maloc
8version             1.5
9
10categories          devel math
11
12maintainers         openmaintainer
13platforms           darwin
14
15description         MALOC, Minimal Abstraction Layer for Object-oriented C
16
17long_description    MALOC (Minimal Abstraction Layer for Object-oriented C) is a small, portable, \
18                    abstract C environment library for object-oriented C programming. MALOC is used \
19                    as the foundation layer for a number of scientific applications, including MC, \
20                    SG, and APBS. MALOC can be used as a small stand-alone abstraction environment for \
21                    writing portable C programs which need access to resources which are typically \
22                    architecture-dependent, such as INET sockets, timing routines, and so on. MALOC \
23                    provides abstract datatypes, memory management routines, timing routines, \
24                    machine epsilon, access to UNIX and INET sockets, MPI, and so on.
25
26license             GPL
27homepage            http://www.fetk.org/codes/maloc/index.html
28
29master_sites        http://www.fetk.org/codes/download/
30distfiles           ${name}-${version}.tar.gz
31worksrcdir          ${name}
32
33checksums           rmd160  23f51192a15c3b713d55091cee60c3653be84948 \
34                    sha256  58e1197fcd4c74d3cbb1d39d712eb0a3c5886a1e6629f22c5c78ce2bac983fc0
35
36depends_build       port:autoconf port:automake port:libtool port:doxygen
37depends_lib         port:ncurses port:readline
38
39post-patch {
40reinplace  "s|@doxygen_path@|@doxygen_path@ -u|g" ${worksrcpath}/Makefile.in
41}
42livecheck.type      regex
43livecheck.url       ${master_sites}
44livecheck.regex     ${name}-(\[0-9.\]+)\\.tar.gz