[26627] trunk/dports/x11/kinput2-macim/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Jun 30 19:50:59 PDT 2007


Revision: 26627
          http://trac.macosforge.org/projects/macports/changeset/26627
Author:   takanori at macports.org
Date:     2007-06-30 19:50:59 -0700 (Sat, 30 Jun 2007)

Log Message:
-----------
Make +universal work.

Modified Paths:
--------------
    trunk/dports/x11/kinput2-macim/Portfile

Modified: trunk/dports/x11/kinput2-macim/Portfile
===================================================================
--- trunk/dports/x11/kinput2-macim/Portfile	2007-07-01 02:50:27 UTC (rev 26626)
+++ trunk/dports/x11/kinput2-macim/Portfile	2007-07-01 02:50:59 UTC (rev 26627)
@@ -3,8 +3,8 @@
 PortSystem        1.0
 name              kinput2-macim
 version           3.1.20050629
-revision	  2
-categories        x11
+revision	  3
+categories        x11 japanese
 maintainers       takanori at macports.org
 description       Input server for easy input of Japanese text, using Kotoeri
 long_description  Kinput2 is an input server for X11 applications that want Japanese \
@@ -53,7 +53,11 @@
 use_xmkmf	  yes
 build		  {
 		  system "cd ${worksrcpath} && make depend PREFIX=${prefix}"
-		  system "cd ${worksrcpath} && make PREFIX=${prefix} CDEBUGFLAGS=-O3"
+		  if {[variant_isset universal]} {
+		      system "cd ${worksrcpath} && make PREFIX=${prefix} CDEBUGFLAGS=\"${configure.cflags} ${configure.universal_cflags}\""
+		  } else {
+		      system "cd ${worksrcpath} && make PREFIX=${prefix} CDEBUGFLAGS=\"${configure.cflags}\""
+		  }
 }
 destroot	  {
 		  system "cd ${worksrcpath} && make install install.man DESTDIR=${destroot} PREFIX=${prefix} BINDIR=${prefix}/bin LIBDIR=${prefix}/lib CONFDIR=${prefix}/etc MANSOURCEPATH=${prefix}/share/man/man DOCDIR=${prefix}/share/doc/${name} XAPPLOADDIR=/usr/X11R6/lib/X11/app-defaults"
@@ -65,6 +69,8 @@
                   xinstall -m 644 -W ${worksrcpath} NEWS README Kinput2-MacIM.README copyright ${destroot}${prefix}/share/doc/${name}
 }
 
+variant universal {}
+
 livecheck.check	regex
 livecheck.url	${homepage}
 livecheck.regex	kinput2-v3.1-macim-(\[0-9\]+)\\.patch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070630/c8898f0e/attachment.html


More information about the macports-changes mailing list