source: trunk/dports/net/nslint/Portfile

Last change on this file was 110186, checked in by jmr@…, 4 years ago

nslint: set license, use files from automake instead of keeping copies in files/

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 110186 2013-08-28 09:03:05Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                nslint
6version             2.1a9
7categories          net
8license             BSD
9maintainers         nomaintainer
10description         Lint program for dns files
11long_description    ${description}
12
13platforms           darwin sunos
14
15homepage            http://ee.lbl.gov/
16master_sites        ftp://ftp.ee.lbl.gov/ \
17                    ftp://ftp.ee.lbl.gov/old/
18
19checksums           md5     6676296e338882b1801afcbda699ebe2 \
20                    sha1    4dd0df54f847dedc4b1641d57e3effb2d526ed71 \
21                    rmd160  50d953c45b4f3dbf56f30d91fb35bf739cd2682a
22
23depends_build       port:automake
24
25post-extract {
26   # Many files are read-only...
27   system "chmod -R u+w ${worksrcpath}/"
28}
29
30patchfiles          patch-Makefile.in
31
32pre-configure {
33   # Replace the symlinks which point to /usr/local with a real file
34   foreach fileToReplace {config.guess config.sub install-sh} {
35      delete ${worksrcpath}/${fileToReplace}
36      copy [glob ${prefix}/share/automake-*/${fileToReplace}] ${worksrcpath}
37   }
38}
39
40build.target
41
42destroot.target     install install-man
43
44livecheck.url       [lindex ${master_sites} 0]
45livecheck.regex     > nslint-(.*)\\.tar\\.gz
Note: See TracBrowser for help on using the repository browser.