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

Last change on this file since 7324 was 7324, checked in by olegb, 16 years ago

Bug: 1887
Submitted by: chris.ridd@…
Reviewed by: olegb@
Approved by:
Obtained from:

restores missing /

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.4 2004/05/31 18:46:16 olegb Exp $
2
3PortSystem 1.0
4name            dumpasn1
5version         20030222
6categories      textproc security
7maintainers     chris.ridd@isode.com
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 720c630b4f4f17d4bf85b240eceeb8da \
17                dumpasn1.cfg md5 f1c0a5c1108b7aad85afe3c5111ff906
18platforms       darwin
19extract {       system "cp ${distpath}/dumpasn1.c ${worksrcpath}"
20                system "cp ${distpath}/dumpasn1.cfg ${worksrcpath}" }
21
22configure       {}
23
24post-configure {        reinplace "s|/etc/dumpasn1/|$prefix/etc/|g" \
25                                "${worksrcpath}/dumpasn1.c" }
26
27build {         system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c" }
28
29destroot {      system "install -c -m 755 ${worksrcpath}/dumpasn1 ${destroot}${prefix}/bin/dumpasn1"
30                system "install -c -m 644 ${worksrcpath}/dumpasn1.cfg ${destroot}${prefix}/etc/dumpasn1.cfg" }
Note: See TracBrowser for help on using the repository browser.