source: trunk/dports/textproc/dumpasn1/Portfile @ 50980

Last change on this file since 50980 was 50980, checked in by and.damore@…, 11 years ago

Maintainers batch change, removed @macports.org

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $
2
3PortSystem 1.0
4name            dumpasn1
5version         20060622
6categories      textproc security
7maintainers     cjr
8description     an ASN.1 decoder and pretty-printer
9long_description        The dumpasn1 program decodes BER and DER-encoded \
10                        ASN.1 data, and is configured with knowledge of \
11                        many security-related objects.
12homepage        http://www.cs.auckland.ac.nz/~pgut001/
13master_sites    ${homepage}
14distname       
15distfiles       dumpasn1.c dumpasn1.cfg
16checksums       dumpasn1.c md5 0855c6f21a9e2c7f984b1e48ce9c1f58 \
17                dumpasn1.cfg md5 ffb5d3c3f7b5216149dcc7bbf462408c
18platforms       darwin
19extract {
20        system "cp ${distpath}/dumpasn1.c ${worksrcpath}"
21        system "cp ${distpath}/dumpasn1.cfg ${worksrcpath}"
22}
23
24configure       {}
25
26post-configure {
27        reinplace "s|/etc/dumpasn1/|$prefix/etc/|g" \
28                "${worksrcpath}/dumpasn1.c"
29}
30
31build {
32        system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c"
33}
34
35destroot {
36        xinstall -c -m 0755 ${worksrcpath}/dumpasn1 \
37                ${destroot}${prefix}/bin/dumpasn1
38        xinstall -c -m 0644 ${worksrcpath}/dumpasn1.cfg \
39                ${destroot}${prefix}/etc/dumpasn1.cfg
40}
Note: See TracBrowser for help on using the repository browser.