[119055] trunk/dports/devel/ossp-uuid/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Apr 15 14:40:54 PDT 2014
Revision: 119055
https://trac.macports.org/changeset/119055
Author: macsforever2000 at macports.org
Date: 2014-04-15 14:40:54 -0700 (Tue, 15 Apr 2014)
Log Message:
-----------
ossp-uuid: Add perl variants. (#43010)
Modified Paths:
--------------
trunk/dports/devel/ossp-uuid/Portfile
Modified: trunk/dports/devel/ossp-uuid/Portfile
===================================================================
--- trunk/dports/devel/ossp-uuid/Portfile 2014-04-15 21:40:31 UTC (rev 119054)
+++ trunk/dports/devel/ossp-uuid/Portfile 2014-04-15 21:40:54 UTC (rev 119055)
@@ -5,7 +5,7 @@
name ossp-uuid
version 1.6.2
-revision 1
+revision 2
categories devel
license MIT
platforms darwin
@@ -27,6 +27,8 @@
--without-pgsql \
--includedir=${prefix}/include/ossp
+default_variants +perl5_16
+
if {[variant_isset universal]} {
if { ${os.arch} eq "i386" } {
if { ${os.major} >= 10 } {
@@ -60,6 +62,38 @@
file rename -force ${destroot}${prefix}/share/man/man1/uuid-config.1 ${destroot}${prefix}/share/man/man1/ossp-uuid-config.1
}
+variant perl5_12 conflicts perl5_14 perl5_16 perl5_18 description {Perl bindings with perl 5.12} {
+ depends_build-append port:perl5.12
+ configure.args-delete --without-perl
+ configure.args-append --with-perl --with-perl-compat
+ configure.env-append PERL=${prefix}/bin/perl5.12
+ patchfiles-append patch-uuid-uuid.h.in.diff
+}
+
+variant perl5_14 conflicts perl5_12 perl5_16 perl5_18 description {Perl bindings with perl 5.14} {
+ depends_build-append port:perl5.14
+ configure.args-delete --without-perl
+ configure.args-append --with-perl --with-perl-compat
+ configure.env-append PERL=${prefix}/bin/perl5.14
+ patchfiles-append patch-uuid-uuid.h.in.diff
+}
+
+variant perl5_16 conflicts perl5_12 perl5_14 perl5_18 description {Perl bindings with perl 5.16} {
+ depends_build-append port:perl5.16
+ configure.args-delete --without-perl
+ configure.args-append --with-perl --with-perl-compat
+ configure.env-append PERL=${prefix}/bin/perl5.16
+ patchfiles-append patch-uuid-uuid.h.in.diff
+}
+
+variant perl5_18 conflicts perl5_12 perl5_14 perl5_16 description {Perl bindings with perl 5.18} {
+ depends_build-append port:perl5.18
+ configure.args-delete --without-perl
+ configure.args-append --with-perl --with-perl-compat
+ configure.env-append PERL=${prefix}/bin/perl5.18
+ patchfiles-append patch-uuid-uuid.h.in.diff
+}
+
test.run yes
test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140415/70564340/attachment.html>
More information about the macports-changes
mailing list