[133692] trunk/dports/textproc/rman/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sun Mar 8 19:24:40 PDT 2015
Revision: 133692
https://trac.macports.org/changeset/133692
Author: khindenburg at macports.org
Date: 2015-03-08 19:24:40 -0700 (Sun, 08 Mar 2015)
Log Message:
-----------
rman: allow universal build and respect build architecture #45482; maintainer timeout
Modified Paths:
--------------
trunk/dports/textproc/rman/Portfile
Modified: trunk/dports/textproc/rman/Portfile
===================================================================
--- trunk/dports/textproc/rman/Portfile 2015-03-09 01:58:02 UTC (rev 133691)
+++ trunk/dports/textproc/rman/Portfile 2015-03-09 02:24:40 UTC (rev 133692)
@@ -3,6 +3,7 @@
PortSystem 1.0
name rman
version 3.2
+revision 1
categories textproc
license Artistic-1
maintainers mac.com:lomion
@@ -15,10 +16,20 @@
homepage http://polyglotman.sourceforge.net/
platforms darwin
master_sites sourceforge:polyglotman
-checksums md5 6d1d67641c6d042595a96a62340d3cc6
-patchfiles patch-Makefile
+checksums rmd160 5ec8830466ec478e4470fbda8635d06b8cf967b7 \
+ sha256 68a130696b251966db10a4774e2bc8083a0147b83f64c11e9bb4cd654da32d5f
+use_configure no
+build.args-append \
+ CC=${configure.cc}
-configure {
- reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|__DSTROOT|${destroot}${prefix}|g" ${worksrcpath}/Makefile
+if {[variant_isset universal]} {
+ build.args-append \
+ CFLAGS="${configure.cflags} ${configure.universal_cflags}"
+} else {
+ build.args-append \
+ CFLAGS="${configure.cflags} [get_canonical_archflags]"
}
+
+destroot.args-append \
+ BINDIR=${destroot}${prefix}/bin \
+ MANDIR=${destroot}${prefix}/share/man/man1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150308/34948e8c/attachment.html>
More information about the macports-changes
mailing list