Changeset 144724 for trunk/dports/devel


Ignore:
Timestamp:
Jan 16, 2016, 11:30:16 AM (3 years ago)
Author:
mcalhoun@…
Message:

svn2git: allow universal build
no revbump since svn2git builds properly or not at all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/svn2git/Portfile

    r144445 r144724  
    3434set docdir          ${prefix}/share/doc/${subport}
    3535
    36 destroot {
    37     xinstall ${worksrcpath}/svn-all-fast-export ${destroot}${prefix}/bin
    38     xinstall -d ${destroot}${docdir}
    39     xinstall -m 644 ${worksrcpath}/README.md ${destroot}${docdir}
    40     copy ${worksrcpath}/samples ${destroot}${docdir}/examples
     36# muniversal build requires Makefile
     37post-extract {
     38    set makefile [open ${worksrcpath}/Makefile-Install "w"]
     39    puts ${makefile} "install:"
     40    puts ${makefile} "\t/usr/bin/install -m 0755 svn-all-fast-export \$(DESTDIR)${prefix}/bin"
     41    puts ${makefile} "\t/usr/bin/install -d -m 0755 \$(DESTDIR)${docdir}"
     42    puts ${makefile} "\t/usr/bin/install -m 0644 README.md \$(DESTDIR)${docdir}"
     43    puts ${makefile} "\t/usr/bin/install -d -m 0755 \$(DESTDIR)${docdir}/examples"
     44    puts ${makefile} "\t/usr/bin/install -m 0644 samples/* \$(DESTDIR)${docdir}/examples"
     45    close ${makefile}
    4146}
     47destroot.args-append -f Makefile-Install
Note: See TracChangeset for help on using the changeset viewer.