[40750] trunk/dports/devel/trio
toby at macports.org
toby at macports.org
Mon Oct 13 19:59:53 PDT 2008
Revision: 40750
http://trac.macports.org/changeset/40750
Author: toby at macports.org
Date: 2008-10-13 19:59:53 -0700 (Mon, 13 Oct 2008)
Log Message:
-----------
trio 1.12
- take maintainership
- fix dylib install_name and whatnot
Modified Paths:
--------------
trunk/dports/devel/trio/Portfile
trunk/dports/devel/trio/files/patch-Makefile.in
Modified: trunk/dports/devel/trio/Portfile
===================================================================
--- trunk/dports/devel/trio/Portfile 2008-10-14 02:34:51 UTC (rev 40749)
+++ trunk/dports/devel/trio/Portfile 2008-10-14 02:59:53 UTC (rev 40750)
@@ -3,11 +3,10 @@
PortSystem 1.0
name trio
-version 1.10
-revision 1
+version 1.12
categories devel
platforms darwin
-maintainers nomaintainer
+maintainers toby
description trio is a set of printf and string functions
long_description Trio is a fully matured and stable set of printf and \
string functions designed be used by applications with \
@@ -17,10 +16,16 @@
homepage http://daniel.haxx.se/projects/trio/
master_sites sourceforge:ctrio
-checksums md5 8e550cd0ead8bbb9afb475e46ccddf30
+checksums md5 f96cc4d8873f5445fc2aef1781fd87a8 \
+ sha1 f63a5df8acd970846d64af2a0d19a3de69d901bf \
+ rmd160 158868f92c469803c1eb2f39296921862b6e6f7a
+
patchfiles patch-Makefile.in
+post-patch {
+ reinplace "s|__VERSION__|${version}|" ${worksrcpath}/Makefile.in
+}
-test.run no
+test.run yes
test.target test
destroot.destdir prefix=${destroot}${prefix}
Modified: trunk/dports/devel/trio/files/patch-Makefile.in
===================================================================
--- trunk/dports/devel/trio/files/patch-Makefile.in 2008-10-14 02:34:51 UTC (rev 40749)
+++ trunk/dports/devel/trio/files/patch-Makefile.in 2008-10-14 02:59:53 UTC (rev 40750)
@@ -1,6 +1,6 @@
---- Makefile.in Sat Oct 26 11:05:51 2002
-+++ Makefile.in.new Wed Sep 8 10:31:00 2004
-@@ -21,7 +21,7 @@
+--- Makefile.in.orig 2003-11-23 04:47:52.000000000 -0800
++++ Makefile.in 2008-10-13 19:48:18.000000000 -0700
+@@ -22,7 +22,7 @@
includedir = @includedir@
libdir = @libdir@
@@ -9,26 +9,23 @@
test:
./regression
-@@ -30,9 +30,11 @@
- $(MKDIR) $(libdir)
- $(MKDIR) $(includedir)
- $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)
-- for i in $(TARGET_INCS);do \
-+ for i in $(TARGETINCS);do \
+@@ -34,6 +34,9 @@
+ for i in $(TARGETINCS);do \
(set -x;$(INSTALL_DATA) $$i $(includedir)); \
done
-+ $(INSTALL) libtrio.1.10.dylib $(libdir)
-+ cd $(libdir) && ln -s libtrio.1.10.dylib libtrio.1.dylib && ln -s libtrio.1.10.dylib libtrio.dylib
++ $(INSTALL) libtrio.1.dylib $(libdir)
++ ln -s libtrio.1.dylib $(libdir)/libtrio.dylib
++ ln -s libtrio.1.dylib $(libdir)/libtrio.__VERSION__.dylib
pure: $(TOBJS) $(OBJS)
$(PURIFY) $(PURIFYOPTIONS) $(CC) $(CFLAGS) $^ $(LDFLAGS)
-@@ -52,6 +54,9 @@
- $(TARGETLIB): $(OBJS)
+@@ -54,6 +57,9 @@
$(AR) ruv $(TARGETLIB) $(OBJS)
$(RANLIB) $(TARGETLIB)
-+
-+dylib: $(OBJS)
-+ $(CC) -dynamiclib -install_name $(prefix)/lib/libtrio.1.10.dylib -compatibility_version 1 -current_version 1.10 -o libtrio.1.10.dylib $(OBJS)
++dylib: $(TARGETLIB)
++ $(CC) -dynamiclib -all_load -install_name $(prefix)/lib/libtrio.1.dylib -compatibility_version 1 -current_version __VERSION__ -o libtrio.1.dylib $(TARGETLIB)
++
doc::
$(GENDOC) doc/trio.cfg
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081013/e6a50f33/attachment.html
More information about the macports-changes
mailing list