[32622] trunk/dports/net/blackbag/Portfile
ecronin at macports.org
ecronin at macports.org
Wed Jan 9 15:12:29 PST 2008
Revision: 32622
http://trac.macosforge.org/projects/macports/changeset/32622
Author: ecronin at macports.org
Date: 2008-01-09 15:12:27 -0800 (Wed, 09 Jan 2008)
Log Message:
-----------
Install missing ASN.1 utilities, closes #13419.
Modified Paths:
--------------
trunk/dports/net/blackbag/Portfile
Modified: trunk/dports/net/blackbag/Portfile
===================================================================
--- trunk/dports/net/blackbag/Portfile 2008-01-09 20:45:21 UTC (rev 32621)
+++ trunk/dports/net/blackbag/Portfile 2008-01-09 23:12:27 UTC (rev 32622)
@@ -4,6 +4,7 @@
name blackbag
version 0.9
+revision 1
categories net security
platforms darwin
maintainers ecronin
@@ -34,7 +35,8 @@
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/bkb
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/sub.c
reinplace "s|/usr/local|\$\(DESTDIR\)/${prefix}|g" ${worksrcpath}/asn/Makefile
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/asn/asn
+ reinplace "s|/usr/local/bin|${prefix}/bin/blackbag|g" ${worksrcpath}/asn/asn
+ reinplace "s|shift|#shift|g" ${worksrcpath}/asn/asn
reinplace "s|-I../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile
reinplace "s|-L../third-party/libevent-1.0b||g" ${worksrcpath}/Makefile
reinplace "s|-g||g" ${worksrcpath}/common.mk
@@ -44,10 +46,18 @@
system "touch ${worksrcpath}/sub.macros"
}
+post-build {
+ system "cd ${worksrcpath}/asn && ${build.cmd}"
+}
+
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 ${worksrcpath}/README \
${destroot}${prefix}/share/doc/${name}/README
+
+ file rename ${worksrcpath}/asn/asn ${worksrcpath}/asn/asn1
+ system "cd ${worksrcpath}/asn && \
+ ${build.cmd} install ${build.target} DESTDIR=${destroot}"
}
platform darwin 9 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080109/456c9bb0/attachment.html
More information about the macports-changes
mailing list