Frederic Cambus <[email protected]> writes: > Hi ports@, > > Here is a diff to update devel/uthash to 2.0.1.
No consumer so I see no reason to hold this back. ok jca@ > Notable changes: > > - Upstream moved to GitHub > - HTML documentation is not bundled in release tarballs anymore, and > must be generated with asciidoc, so only ship plain text documentation > to avoid adding a build dependency > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/devel/uthash/Makefile,v > retrieving revision 1.13 > diff -u -p -r1.13 Makefile > --- Makefile 27 Mar 2014 08:47:56 -0000 1.13 > +++ Makefile 1 Mar 2017 21:03:57 -0000 > @@ -2,29 +2,25 @@ > > COMMENT= C macros to add, find and delete items from a hash > > -DISTNAME= uthash-1.9.7 > -CATEGORIES= devel > +GH_ACCOUNT= troydhanson > +GH_PROJECT= uthash > +GH_TAGNAME= v2.0.1 > > -HOMEPAGE= http://uthash.sf.net/ > +CATEGORIES= devel > > # BSD > PERMIT_PACKAGE_CDROM= Yes > > -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=uthash/} > -EXTRACT_SUFX= .tar.bz2 > - > NO_BUILD= Yes > PKG_ARCH= * > > PORTHOME= ${WRKDIR} > -TEST_TARGET= run_tests > +TEST_TARGET= run_tests > > do-install: > ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include > - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uthash/img > - ${INSTALL_DATA} ${WRKSRC}/doc/html/*.{css,html} \ > - ${PREFIX}/share/doc/uthash > - ${INSTALL_DATA} ${WRKSRC}/doc/html/img/* ${PREFIX}/share/doc/uthash/img > + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uthash > + ${INSTALL_DATA} ${WRKSRC}/doc/u*.txt ${PREFIX}/share/doc/uthash > > do-test: > @cd ${WRKSRC}/tests/ && exec ${SETENV} ${MAKE_ENV} \ > Index: distinfo > =================================================================== > RCS file: /cvs/ports/devel/uthash/distinfo,v > retrieving revision 1.10 > diff -u -p -r1.10 distinfo > --- distinfo 13 Oct 2012 10:40:38 -0000 1.10 > +++ distinfo 1 Mar 2017 21:03:57 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (uthash-1.9.7.tar.bz2) = lW9cmXmDScQTJ1/kyf8SjXLigGVdrb5DZfjp+9qROT8= > -SIZE (uthash-1.9.7.tar.bz2) = 373059 > +SHA256 (uthash-2.0.1.tar.gz) = YTuV/MNot9AVrS0IAjEydwEvUMSsKQw9/BQtQuvqMzc= > +SIZE (uthash-2.0.1.tar.gz) = 189051 > Index: patches/patch-tests_Makefile > =================================================================== > RCS file: /cvs/ports/devel/uthash/patches/patch-tests_Makefile,v > retrieving revision 1.7 > diff -u -p -r1.7 patch-tests_Makefile > --- patches/patch-tests_Makefile 19 Apr 2012 06:39:42 -0000 1.7 > +++ patches/patch-tests_Makefile 1 Mar 2017 21:03:57 -0000 > @@ -2,9 +2,9 @@ $OpenBSD: patch-tests_Makefile,v 1.7 201 > > - Remove GNU make crap that never applied to us anyway. > > ---- tests/Makefile.orig Thu Apr 19 08:38:39 2012 > -+++ tests/Makefile Thu Apr 19 08:39:02 2012 > -@@ -19,48 +19,10 @@ CFLAGS += -Wall > +--- tests/Makefile.orig Tue Jul 5 23:05:33 2016 > ++++ tests/Makefile Wed Mar 1 21:55:35 2017 > +@@ -24,48 +24,10 @@ CFLAGS += -Wall > #CFLAGS += -std=c89 > CFLAGS += ${EXTRA_CFLAGS} > > @@ -13,7 +13,7 @@ $OpenBSD: patch-tests_Makefile,v 1.7 201 > -endif > - > -ifeq ($(HASH_PEDANTIC),1) > --CFLAGS += -pedantic > +-CFLAGS += -pedantic > -endif > - > TEST_TARGET=run_tests > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/devel/uthash/pkg/PLIST,v > retrieving revision 1.4 > diff -u -p -r1.4 PLIST > --- pkg/PLIST 3 Nov 2010 16:37:47 -0000 1.4 > +++ pkg/PLIST 1 Mar 2017 21:03:57 -0000 > @@ -1,26 +1,16 @@ > -@comment $OpenBSD: PLIST,v 1.4 2010/11/03 16:37:47 jasper Exp $ > +@comment $OpenBSD$ > +include/libut.h > +include/ringbuf.h > include/utarray.h > include/uthash.h > include/utlist.h > +include/utmm.h > +include/utringbuffer.h > include/utstring.h > +include/utvector.h > share/doc/uthash/ > -share/doc/uthash/ChangeLog.html > -share/doc/uthash/img/ > -share/doc/uthash/img/banner.png > -share/doc/uthash/img/banner.svg > -share/doc/uthash/img/grad_blue.png > -share/doc/uthash/img/grad_blue.svg > -share/doc/uthash/img/rss.png > -share/doc/uthash/img/uthash-mini.png > -share/doc/uthash/img/uthash-mini.svg > -share/doc/uthash/img/uthash.png > -share/doc/uthash/index.html > -share/doc/uthash/license.html > -share/doc/uthash/styles.css > -share/doc/uthash/tdh-quirks.css > -share/doc/uthash/tdh.css > -share/doc/uthash/toc.css > -share/doc/uthash/userguide.html > -share/doc/uthash/utarray.html > -share/doc/uthash/utlist.html > -share/doc/uthash/utstring.html > +share/doc/uthash/userguide.txt > +share/doc/uthash/utarray.txt > +share/doc/uthash/utlist.txt > +share/doc/uthash/utringbuffer.txt > +share/doc/uthash/utstring.txt > -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
