Revision: 139740 https://trac.macports.org/changeset/139740 Author: ionic@macports.org Date: 2015-08-25 19:43:14 -0700 (Tue, 25 Aug 2015) Log Message: ----------- stfl: update to 0.24. Maintainer timeout. Patch provided by an user. Fixes: #48554. Modified Paths: -------------- trunk/dports/devel/stfl/Portfile trunk/dports/devel/stfl/files/patch-Makefile.diff Modified: trunk/dports/devel/stfl/Portfile =================================================================== --- trunk/dports/devel/stfl/Portfile 2015-08-26 02:38:17 UTC (rev 139739) +++ trunk/dports/devel/stfl/Portfile 2015-08-26 02:43:14 UTC (rev 139740) @@ -3,8 +3,7 @@ PortSystem 1.0 name stfl -version 0.20 -revision 1 +version 0.24 categories devel platforms darwin maintainers lutz.horn@fastmail.fm @@ -19,12 +18,13 @@ concentrate on the more interesting programming tasks. homepage http://www.clifford.at/stfl/ -master_sites http://www.clifford.at/stfl/ +master_sites ${homepage} distname stfl-${version} -checksums md5 905e0b8f81fe1b5c95b8d78f56df966b \ - sha1 0bd33d44fd71c8e2f1383fab52d4db547384024c \ - rmd160 d99415b39c110459a5f10eb58242291fb4a87ce4 +checksums md5 98c764ccc8f13ed05ea22559d7116b96 \ + sha1 c770a20f719f5a7f0a691727098c51b43df9c33c \ + rmd160 374ef95e6de3e77991a469ce75c1c972d8c8a3be \ + sha256 d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 depends_lib port:ncurses \ port:libiconv @@ -40,3 +40,7 @@ build.env CC=${configure.cc} \ CFLAGS=${configure.cppflags} \ LDLIBS=${configure.ldflags} + +livecheck.type regex +livecheck.url ${homepage} +livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} Modified: trunk/dports/devel/stfl/files/patch-Makefile.diff =================================================================== --- trunk/dports/devel/stfl/files/patch-Makefile.diff 2015-08-26 02:38:17 UTC (rev 139739) +++ trunk/dports/devel/stfl/files/patch-Makefile.diff 2015-08-26 02:43:14 UTC (rev 139740) @@ -1,19 +1,49 @@ ---- Makefile.orig 2009-04-27 06:03:30.000000000 -0500 -+++ Makefile 2009-08-03 01:51:20.000000000 -0500 -@@ -20,9 +20,8 @@ +--- Makefile.orig 2015-08-11 12:50:41.000000000 -0400 ++++ Makefile 2015-08-11 17:44:44.000000000 -0400 +@@ -20,14 +20,17 @@ include Makefile.cfg -export CC = gcc -pthread export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC -export LDLIBS += -lncursesw -+export LDLIBS += -lncursesw -liconv ++export LDLIBS += $(LD_FLAGS) -lncursesw -liconv - VERSION := 0.20 + SONAME := libstfl.so.0 + VERSION := 0.24 -@@ -48,8 +47,8 @@ - rm -f stfl.pc +-all: libstfl.so.$(VERSION) libstfl.a example ++SONAME := libstfl.dylib ++SONAME0 := libstfl.0.dylib ++SONAMEV := libstfl.$(VERSION).dylib ++ ++all: $(SONAMEV) libstfl.a example + example: libstfl.a example.o + +@@ -37,24 +40,24 @@ + ar qc $@ $^ + ranlib $@ + +-libstfl.so.$(VERSION): public.o base.o parser.o dump.o style.o binding.o iconv.o \ ++$(SONAMEV): public.o base.o parser.o dump.o style.o binding.o iconv.o \ + $(patsubst %.c,%.o,$(wildcard widgets/*.c)) +- $(CC) -shared -Wl,-soname,$(SONAME) -o $@ $(LDLIBS) $^ ++ $(CC) -shared -Wl -install_name $(prefix)/lib/$@ -o $@ $(LDLIBS) $^ + + clean: + rm -f libstfl.a example core core.* *.o Makefile.deps + rm -f widgets/*.o spl/mod_stfl.so spl/example.db + cd perl5 && perl Makefile.PL && make clean && rm -f Makefile.old + rm -f perl5/stfl_wrap.c perl5/stfl.pm perl5/build_ok +- rm -f python/stfl.py python/stfl.pyc python/_stfl.so ++ rm -f python/stfl.py python/stfl.pyc python/_stfl.so + rm -f python/stfl_wrap.c python/stfl_wrap.o + rm -f ruby/Makefile ruby/stfl_wrap.c ruby/stfl_wrap.o + rm -f ruby/stfl.so ruby/build_ok Makefile.deps_new +- rm -f stfl.pc libstfl.so libstfl.so.* ++ rm -f stfl.pc $(SONAME) $(SONAME0) $(SONAMEV) + Makefile.deps: *.c widgets/*.c *.h - $(CC) -I. -MM *.c > Makefile.deps_new - $(CC) -I. -MM widgets/*.c | sed 's,^wt_[^ ]*\.o: ,widgets/&,' >> Makefile.deps_new @@ -22,7 +52,18 @@ mv -f Makefile.deps_new Makefile.deps install: all stfl.pc -@@ -66,18 +65,6 @@ +@@ -63,8 +66,8 @@ + install -m 644 libstfl.a $(DESTDIR)$(prefix)/$(libdir) + install -m 644 stfl.h $(DESTDIR)$(prefix)/include/ + install -m 644 stfl.pc $(DESTDIR)$(prefix)/$(libdir)/pkgconfig/ +- install -m 644 libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir) +- ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so ++ install -m 644 $(SONAMEV) $(DESTDIR)$(prefix)/$(libdir) ++ ln -fs $(SONAMEV) $(DESTDIR)$(prefix)/$(libdir)/$(SONAME) + + stfl.pc: stfl.pc.in + sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@ +@@ -73,18 +76,6 @@ include spl/Makefile.snippet endif