Ticket #35727: Portfile

File Portfile, 1.7 KB (added by ajdudman, 12 years ago)
Line 
1# $Id: Portfile rev date time email $
2
3PortSystem 1.0
4name            dmake
5version         4.12.2
6categories      devel
7license         GPL-1
8platforms       darwin freebsd
9maintainers     nomaintainer
10description     Dmake is an enhanced make utility.
11long_description \
12        Dmake is a re-implementation of the UNIX make utility with significant  \
13        enhancements.  Dmake executes commands found in an external file called \
14        a makefile to update one or more target names.  Each target may depend  \
15        on zero or more prerequisite targets.  If any of the target's prerequi- \
16        sites is newer than the target or if the target itself does not exist,  \
17        then dmake will attempt to make the target.  It is not compatible with  \
18        GNU make. \
19        Originally this was commercial software, but now it is open-sourced and \
20        hosted by Apache OpenOffice.
21
22homepage        http://www.openoffice.org/tools/dmake
23master_sites    http://code.google.com/a/apache-extras.org/p/dmake/downloads/list
24distname        dmake-${version}
25use_bzip2       yes
26checksums       dmake-4.12.2.tar.bz2 \
27                    md5    9194f727c31d1db18bf5dd02e7b2dd09 \
28                    rmd160 c7440f84999ed30a2879260f90f75196934ec0db \
29                    sha256 2fcbf389a9baaec25a973bd0d9e338069ad427b17d2adc7dc023efb034e96057
30
31post-extract {
32        for {set i 1} {$i<13} {incr i} {
33                file attributes "${worksrcpath}/tests/targets-$i" -permissions 0755
34        }
35}
36
37patchfiles      patch-pkgdatadir.diff patch-tests-Makefile.am.diff patch-tests-macros-6.diff
38use_autoreconf  yes
39autoreconf.args -fvi
40
41test.run        yes
42test.target     check
43
44
45livecheck.type  regex
46livecheck.url   [lindex ${master_sites} 0]
47livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"
48