=- To [email protected] wrote on Sat 8.Oct'16 at 11:54:48 +0200 -=
> Hello ports@,
>
> This update devel/libconfuse to 3.0
> Tested on amd64.
>
> It also update HOMEPAGE and MASTER_SITES because
> the project moves to github.
thanks to Rafael Sadowski, I update the patch.
changes:
- use V to bump version quickly
- homepage with https
- removed REVISION
I don't use GH_* because otherwise it needs autoconf and,
I think, this should be avoided. Wrong?
>
> ok?
erase "ok?" because I am not a dev.
sorry for this newbie error.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libconfuse/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 12 Apr 2016 15:19:40 -0000 1.13
+++ Makefile 8 Oct 2016 12:29:32 -0000
@@ -1,20 +1,20 @@
# $OpenBSD: Makefile,v 1.13 2016/04/12 15:19:40 naddy Exp $
COMMENT= configuration file parser library
-DISTNAME= confuse-2.7
+V= 3.0
+DISTNAME= confuse-${V}
PKGNAME= lib${DISTNAME}
-REVISION= 3
-SHARED_LIBS= confuse 1.0 # .0.0
+SHARED_LIBS= confuse 1.0
CATEGORIES= devel
-HOMEPAGE= http://www.nongnu.org/confuse/
+HOMEPAGE= https://github.com/martinh/libconfuse
# ISC
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= iconv intl
-MASTER_SITES= ${MASTER_SITE_SAVANNAH:=confuse/}
+MASTER_SITES= https://github.com/martinh/libconfuse/releases/download/v${V}/
LIB_DEPENDS= devel/gettext
@@ -22,10 +22,13 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
-
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libconfuse/tutorial/
- ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/libconfuse
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libconfuse/search
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/search/* \
+ ${PREFIX}/share/doc/libconfuse/search
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/{*html,*png,*css,*js} \
+ ${PREFIX}/share/doc/libconfuse
${INSTALL_DATA} ${WRKSRC}/doc/tutorial-html/* \
${PREFIX}/share/doc/libconfuse/tutorial
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libconfuse/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 18 Jan 2015 03:13:15 -0000 1.5
+++ distinfo 8 Oct 2016 12:29:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (confuse-2.7.tar.gz) = 4yV0/YN+lQd42set5AeH3SJZ744orNbt5oR8qJXIh3g=
-SIZE (confuse-2.7.tar.gz) = 517272
+SHA256 (confuse-3.0.tar.gz) = 8fMm2UQxAwNtGcMtPz7+w6hcOwgdmVNEY2aNKZksRkg=
+SIZE (confuse-3.0.tar.gz) = 725452
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/libconfuse/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST 16 Mar 2015 18:07:41 -0000 1.4
+++ pkg/PLIST 8 Oct 2016 12:29:32 -0000
@@ -4,14 +4,30 @@ lib/libconfuse.a
lib/libconfuse.la
@lib lib/libconfuse.so.${LIBconfuse_VERSION}
lib/pkgconfig/libconfuse.pc
+share/doc/confuse/
+share/doc/confuse/AUTHORS
+share/doc/confuse/ChangeLog.md
+share/doc/confuse/LICENSE
+share/doc/confuse/README.md
share/doc/libconfuse/
share/doc/libconfuse/annotated.html
+share/doc/libconfuse/arrowdown.png
+share/doc/libconfuse/arrowright.png
+share/doc/libconfuse/bc_s.png
+share/doc/libconfuse/bdwn.png
share/doc/libconfuse/classes.html
-share/doc/libconfuse/confuse_8h-source.html
+share/doc/libconfuse/closed.png
share/doc/libconfuse/confuse_8h.html
+share/doc/libconfuse/confuse_8h_source.html
+share/doc/libconfuse/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+share/doc/libconfuse/doc.png
+share/doc/libconfuse/doxygen.css
share/doc/libconfuse/doxygen.png
+share/doc/libconfuse/dynsections.js
share/doc/libconfuse/examples.html
share/doc/libconfuse/files.html
+share/doc/libconfuse/folderclosed.png
+share/doc/libconfuse/folderopen.png
share/doc/libconfuse/ftpconf_8c-example.html
share/doc/libconfuse/functions.html
share/doc/libconfuse/functions_vars.html
@@ -22,17 +38,97 @@ share/doc/libconfuse/globals_eval.html
share/doc/libconfuse/globals_func.html
share/doc/libconfuse/globals_type.html
share/doc/libconfuse/index.html
+share/doc/libconfuse/jquery.js
+share/doc/libconfuse/nav_f.png
+share/doc/libconfuse/nav_g.png
+share/doc/libconfuse/nav_h.png
+share/doc/libconfuse/open.png
share/doc/libconfuse/reread_8c-example.html
+share/doc/libconfuse/search/
+share/doc/libconfuse/search/all_0.html
+share/doc/libconfuse/search/all_0.js
+share/doc/libconfuse/search/all_1.html
+share/doc/libconfuse/search/all_1.js
+share/doc/libconfuse/search/all_2.html
+share/doc/libconfuse/search/all_2.js
+share/doc/libconfuse/search/all_3.html
+share/doc/libconfuse/search/all_3.js
+share/doc/libconfuse/search/all_4.html
+share/doc/libconfuse/search/all_4.js
+share/doc/libconfuse/search/all_5.html
+share/doc/libconfuse/search/all_5.js
+share/doc/libconfuse/search/all_6.html
+share/doc/libconfuse/search/all_6.js
+share/doc/libconfuse/search/all_7.html
+share/doc/libconfuse/search/all_7.js
+share/doc/libconfuse/search/all_8.html
+share/doc/libconfuse/search/all_8.js
+share/doc/libconfuse/search/all_9.html
+share/doc/libconfuse/search/all_9.js
+share/doc/libconfuse/search/all_a.html
+share/doc/libconfuse/search/all_a.js
+share/doc/libconfuse/search/all_b.html
+share/doc/libconfuse/search/all_b.js
+share/doc/libconfuse/search/classes_0.html
+share/doc/libconfuse/search/classes_0.js
+share/doc/libconfuse/search/close.png
+share/doc/libconfuse/search/defines_0.html
+share/doc/libconfuse/search/defines_0.js
+share/doc/libconfuse/search/enums_0.html
+share/doc/libconfuse/search/enums_0.js
+share/doc/libconfuse/search/enumvalues_0.html
+share/doc/libconfuse/search/enumvalues_0.js
+share/doc/libconfuse/search/files_0.html
+share/doc/libconfuse/search/files_0.js
+share/doc/libconfuse/search/functions_0.html
+share/doc/libconfuse/search/functions_0.js
+share/doc/libconfuse/search/mag_sel.png
+share/doc/libconfuse/search/nomatches.html
+share/doc/libconfuse/search/pages_0.html
+share/doc/libconfuse/search/pages_0.js
+share/doc/libconfuse/search/search.css
+share/doc/libconfuse/search/search.js
+share/doc/libconfuse/search/search_l.png
+share/doc/libconfuse/search/search_m.png
+share/doc/libconfuse/search/search_r.png
+share/doc/libconfuse/search/searchdata.js
+share/doc/libconfuse/search/typedefs_0.html
+share/doc/libconfuse/search/typedefs_0.js
+share/doc/libconfuse/search/variables_0.html
+share/doc/libconfuse/search/variables_0.js
+share/doc/libconfuse/search/variables_1.html
+share/doc/libconfuse/search/variables_1.js
+share/doc/libconfuse/search/variables_2.html
+share/doc/libconfuse/search/variables_2.js
+share/doc/libconfuse/search/variables_3.html
+share/doc/libconfuse/search/variables_3.js
+share/doc/libconfuse/search/variables_4.html
+share/doc/libconfuse/search/variables_4.js
+share/doc/libconfuse/search/variables_5.html
+share/doc/libconfuse/search/variables_5.js
+share/doc/libconfuse/search/variables_6.html
+share/doc/libconfuse/search/variables_6.js
+share/doc/libconfuse/search/variables_7.html
+share/doc/libconfuse/search/variables_7.js
+share/doc/libconfuse/search/variables_8.html
+share/doc/libconfuse/search/variables_8.js
+share/doc/libconfuse/search/variables_9.html
+share/doc/libconfuse/search/variables_9.js
+share/doc/libconfuse/search/variables_a.html
+share/doc/libconfuse/search/variables_a.js
share/doc/libconfuse/simple_8c-example.html
+share/doc/libconfuse/splitbar.png
share/doc/libconfuse/structcfg__defvalue__t.html
share/doc/libconfuse/structcfg__opt__t.html
share/doc/libconfuse/structcfg__t.html
-share/doc/libconfuse/tab_b.gif
-share/doc/libconfuse/tab_l.gif
-share/doc/libconfuse/tab_r.gif
+share/doc/libconfuse/sync_off.png
+share/doc/libconfuse/sync_on.png
+share/doc/libconfuse/tab_a.png
+share/doc/libconfuse/tab_b.png
+share/doc/libconfuse/tab_h.png
+share/doc/libconfuse/tab_s.png
share/doc/libconfuse/tabs.css
share/doc/libconfuse/tutorial/
-share/doc/libconfuse/tutorial.css
share/doc/libconfuse/tutorial/ar01s02.html
share/doc/libconfuse/tutorial/ar01s03.html
share/doc/libconfuse/tutorial/ar01s04.html
@@ -43,6 +139,8 @@ share/doc/libconfuse/tutorial/ar01s08.ht
share/doc/libconfuse/tutorial/ar01s09.html
share/doc/libconfuse/tutorial/index.html
share/doc/libconfuse/tutorial/tutorial.css
+share/doc/libconfuse/unioncfg__simple__t.html
share/doc/libconfuse/unioncfg__value__t.html
+share/locale/de/LC_MESSAGES/confuse.mo
share/locale/fr/LC_MESSAGES/confuse.mo
share/locale/sv/LC_MESSAGES/confuse.mo