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 | |
---|
3 | PortSystem 1.0 |
---|
4 | name dumpasn1 |
---|
5 | version 20030222 |
---|
6 | categories textproc security |
---|
7 | maintainers chris.ridd@isode.com |
---|
8 | description an ASN.1 decoder and pretty-printer |
---|
9 | long_description The dumpasn1 program decodes BER and DER-encoded \ |
---|
10 | ASN.1 data, and is configured with knowledge of \ |
---|
11 | many security-related objects. |
---|
12 | homepage http://www.cs.auckland.ac.nz/~pgut001/ |
---|
13 | master_sites ${homepage} |
---|
14 | distname |
---|
15 | distfiles dumpasn1.c dumpasn1.cfg |
---|
16 | checksums dumpasn1.c md5 720c630b4f4f17d4bf85b240eceeb8da \ |
---|
17 | dumpasn1.cfg md5 f1c0a5c1108b7aad85afe3c5111ff906 |
---|
18 | platforms darwin |
---|
19 | extract { system "cp ${distpath}/dumpasn1.c ${worksrcpath}" |
---|
20 | system "cp ${distpath}/dumpasn1.cfg ${worksrcpath}" } |
---|
21 | |
---|
22 | configure {} |
---|
23 | |
---|
24 | post-configure { reinplace "s|/etc/dumpasn1/|$prefix/etc/|g" \ |
---|
25 | "${worksrcpath}/dumpasn1.c" } |
---|
26 | |
---|
27 | build { system "cc -o ${worksrcpath}/dumpasn1 ${worksrcpath}/dumpasn1.c" } |
---|
28 | |
---|
29 | destroot { 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.