[29381] trunk/dports/textproc/libutf8proc

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 22 11:56:20 PDT 2007


Revision: 29381
          http://trac.macosforge.org/projects/macports/changeset/29381
Author:   mww at macports.org
Date:     2007-09-22 11:56:20 -0700 (Sat, 22 Sep 2007)

Log Message:
-----------
version 1.1.2

Modified Paths:
--------------
    trunk/dports/textproc/libutf8proc/Portfile
    trunk/dports/textproc/libutf8proc/files/patch-Makefile

Modified: trunk/dports/textproc/libutf8proc/Portfile
===================================================================
--- trunk/dports/textproc/libutf8proc/Portfile	2007-09-22 18:48:05 UTC (rev 29380)
+++ trunk/dports/textproc/libutf8proc/Portfile	2007-09-22 18:56:20 UTC (rev 29381)
@@ -3,17 +3,17 @@
 PortSystem 1.0
 
 name			libutf8proc
-version			1.0.3
+version			1.1.2
 categories		textproc
 platforms		darwin
-maintainers		mww at macports.org
+maintainers		mww
 description		library for processing UTF-8 encoded Unicode strings
 long_description	${description}
 
 homepage		http://www.flexiguided.de/publications.utf8proc.en.html
 master_sites	http://www.flexiguided.de/pub/
 distname		utf8proc-v${version}
-checksums		sha1 08ff9e7e7f5f5b606fe97ee24a7806d0394f5447
+checksums		sha1 fdb5df6204908b5acb8ffb8b700527c640c1f245
 patchfiles		patch-Makefile
 
 worksrcdir		utf8proc
@@ -21,11 +21,14 @@
 use_configure	no
 
 build.args		libdir="${prefix}/lib"
-build.target	c-library
+build.target	libutf8proc.a libutf8proc.dylib
 
 destroot {
-	xinstall -m 755 ${worksrcpath}/libutf8proc.dylib ${destroot}${prefix}/lib/
-	xinstall -m 644 ${worksrcpath}/utf8proc.h ${destroot}${prefix}/include
+	xinstall -m 755 -W ${worksrcpath} \
+		libutf8proc.dylib libutf8proc.a \
+		${destroot}${prefix}/lib/
+	xinstall -m 644 ${worksrcpath}/utf8proc.h \
+		${destroot}${prefix}/include
 }
 
 platform darwin 8 {
@@ -35,3 +38,4 @@
 livecheck.check	regex
 livecheck.url	${homepage}
 livecheck.regex	utf8proc-v(\[0-9\.\]+).tar.gz
+

Modified: trunk/dports/textproc/libutf8proc/files/patch-Makefile
===================================================================
--- trunk/dports/textproc/libutf8proc/files/patch-Makefile	2007-09-22 18:48:05 UTC (rev 29380)
+++ trunk/dports/textproc/libutf8proc/files/patch-Makefile	2007-09-22 18:56:20 UTC (rev 29381)
@@ -1,61 +1,21 @@
---- Makefile	2006-08-05 01:19:55.000000000 +0200
-+++ Makefile	2007-04-22 15:03:03.000000000 +0200
-@@ -3,46 +3,45 @@
- 
+--- Makefile	2007-07-22 08:53:03.000000000 +0200
++++ Makefile	2007-09-22 21:00:30.000000000 +0200
+@@ -4,7 +4,7 @@
  # settings
  
--cflags = -g -O0 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
+ cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
 -cc = gcc $(cflags)
-+CFLAGS = -g -O0 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
++cc = $(CC) $(cflags)
  
  
  # meta targets
+@@ -35,6 +35,9 @@
+ 	$(cc) -shared -o libutf8proc.so utf8proc.o
+ 	chmod a-x libutf8proc.so
  
--c-library: libutf8proc.a libutf8proc.so
-+c-library: libutf8proc.a libutf8proc.dylib
- 
--ruby-library: ruby/utf8proc_native.so
-+ruby-library: ruby/utf8proc_native.dylib
- 
--pgsql-library: pgsql/utf8proc_pgsql.so
-+pgsql-library: pgsql/utf8proc_pgsql.dylib
- 
- all: c-library ruby-library pgsql-library
- 
- clean::
--	rm -f utf8proc.o libutf8proc.a libutf8proc.so
-+	rm -f utf8proc.o libutf8proc.a libutf8proc.dylib
- 	cd ruby/ && test -e Makefile && (make clean && rm -f Makefile) || true
- 	cd pgsql/ && make clean
- 
- # real targets
- 
--utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
--	$(cc) -c -o utf8proc.o utf8proc.c
-+utf8proc.o: utf8proc.c utf8proc.h utf8proc_data.c
-+	$(CC) -c -o $@ $<
- 
- libutf8proc.a: utf8proc.o
- 	rm -f libutf8proc.a
- 	ar rs libutf8proc.a utf8proc.o
- 
--libutf8proc.so: utf8proc.o
--	$(cc) -shared -o libutf8proc.so utf8proc.o
--	chmod a-x libutf8proc.so
 +libutf8proc.dylib: utf8proc.o
-+	$(CC) -dynamiclib -o $@ $^ -install_name $(libdir)/$@
-+	chmod a-x $@
- 
++	$(cc) -dynamiclib -o $@ $^ -install_name $(libdir)/$@
++
  ruby/Makefile: ruby/extconf.rb
  	cd ruby && ruby extconf.rb
  
--ruby/utf8proc_native.so: utf8proc.h utf8proc.c utf8proc_data.c \
-+ruby/utf8proc_native.dylib: utf8proc.h utf8proc.c utf8proc_data.c \
- 		ruby/utf8proc_native.c ruby/Makefile
- 	cd ruby && make
- 
--pgsql/utf8proc_pgsql.so: utf8proc.h utf8proc.c utf8proc_data.c \
-+pgsql/utf8proc_pgsql.dylib: utf8proc.h utf8proc.c utf8proc_data.c \
- 		pgsql/utf8proc_pgsql.c
- 	cd pgsql && make
- 

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


More information about the macports-changes mailing list