source: trunk/dports/mail/hypermail/Portfile

Last change on this file was 104263, checked in by ryandesign@…, 4 years ago

hypermail: fix destroot failure "No rule to make target `w'" (#38492)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
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 104263 2013-03-22 12:23:20Z ryandesign@macports.org $
3PortSystem      1.0
4name            hypermail
5version         2.3.0
6revision            1
7categories      mail textproc
8license         GPL-2
9maintainers     nomaintainer
10description     Hypermail, mail to cross-referenced HTML converter
11long_description        Hypermail is a program that takes a file of mail \
12                messages in UNIX mailbox format and generates a set of \
13                cross-referenced HTML documents.
14
15homepage            http://www.hypermail-project.org/
16master_sites    sourceforge
17
18platforms       darwin
19
20checksums           rmd160  65565776556847cd317672d9014d5b4aadd5b34c \
21                    sha256  619938b0cf54eae786f36ef237f106ef7bff7a5c69904ca32afd8d47bf1605d1
22
23worksrcdir  ${name}
24
25patchfiles  patch-Makefile.in.diff \
26            patch-src-proto.h \
27            patch-src-file.c.diff \
28            patch-configure.diff \
29            patch-config.h.in.diff
30
31# Rename INSTALL as make gets confused otherwise (on HFS+ where INSTALL and
32# install are the same file)
33post-patch {
34                system "mv ${worksrcpath}/INSTALL ${worksrcpath}/INSTALL.txt"
35}
36
37# enable-static/disable-shared are here as they need to be passed to the
38# internal PCRE stuff, otherwise it'll build PCRE shared, but not install
39# which is a bit bad...
40configure.args  --enable-static --disable-shared --without-gdbm \
41                --mandir=\\\${prefix}/share/man \
42                --with-cgidir=\\\${prefix}/share/hypermail/cgi-bin \
43                --with-htmldir=\\\${prefix}/share/doc/hypermail
44
45destroot.args   prefix=${destroot}${prefix}
46
47variant gdbm {
48    depends_lib             port:gdbm
49    configure.args-delete       --without-gdbm
50    configure.args-append       --with-gdbm=${prefix}
51}
52
53livecheck.type      regex
54livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.