Bug 179575 - Update port: devel/libtpl to 1.6
Summary: Update port: devel/libtpl to 1.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Frederic Culot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 16:50 UTC by Waitman Gobble
Modified: 2013-06-16 09:20 UTC (History)
0 users

See Also:


Attachments
libtpl.diff (2.66 KB, patch)
2013-06-15 16:50 UTC, Waitman Gobble
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Waitman Gobble 2013-06-15 16:50:00 UTC
libtpl 1.6
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Added const to a number of API parameters and exposed tpl_map_va 
Fixed a doc error to indicate that tpl_dump when used in the TPL_GETSIZE mode stores its result in a size_t rather than a uint32_t
Fixed a typo in the User Guide example of packing a linked link

changes in fork
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
added configure/Makefile 
stripped out win32 code
version to 1.6 in tpl.c

port Makefile changes
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
new style headers
moved from SF to GH
added docs
use PORT_OPTIONS:MDOCS

thank you
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-15 16:50:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->culot

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-06-16 09:14:43 UTC
Author: culot
Date: Sun Jun 16 08:14:35 2013
New Revision: 321025
URL: http://svnweb.freebsd.org/changeset/ports/321025

Log:
  - Update to 1.6 [1]
  - Update MASTER_SITES and WWW link [1]
  - Trim Makefile's header [1]
  - Convert to optionsng [1]
  - Switch from pkg-plist to PLIST_FILES
  
  Changes:	http://troydhanson.github.io/tpl/ChangeLog.html
  PR:		ports/179575 [1]
  Submitted by:	Waitman Gobble <uzimac@da3m0n8t3r.com>

Deleted:
  head/devel/libtpl/pkg-plist
Modified:
  head/devel/libtpl/Makefile
  head/devel/libtpl/distinfo
  head/devel/libtpl/pkg-descr

Modified: head/devel/libtpl/Makefile
==============================================================================
--- head/devel/libtpl/Makefile	Sun Jun 16 07:07:17 2013	(r321024)
+++ head/devel/libtpl/Makefile	Sun Jun 16 08:14:35 2013	(r321025)
@@ -1,14 +1,10 @@
-# New ports collection makefile for:	libtpl
-# Date created:				30 July 2010
-# Whom:					Frederic Culot <frederic@culot.org>
-#
+# Created by: Frederic Culot <frederic@culot.org>
 # $FreeBSD$
-#
 
 PORTNAME=	libtpl
-PORTVERSION=	1.5
+PORTVERSION=	1.6
 CATEGORIES=	devel
-MASTER_SITES=	SF/tpl/tpl/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES=	GH
 
 MAINTAINER=	culot@FreeBSD.org
 COMMENT=	Tpl is a library for serializing C data
@@ -16,13 +12,29 @@ COMMENT=	Tpl is a library for serializin
 LICENSE=	BSD
 
 USE_BZIP2=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	waitman
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	8fa17e5
+
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=	--enable-shared
 USE_LDCONFIG=	yes
 
+PLIST_FILES=	lib/libtpl.la lib/libtpl.a \
+		lib/libtpl.so lib/libtpl.so.0 \
+		include/tpl.h
+
+PORTDOCS=	ChangeLog.txt examples.txt userguide.txt compiling.txt
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/txt/userguide.txt ${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/libtpl/distinfo
==============================================================================
--- head/devel/libtpl/distinfo	Sun Jun 16 07:07:17 2013	(r321024)
+++ head/devel/libtpl/distinfo	Sun Jun 16 08:14:35 2013	(r321025)
@@ -1,2 +1,2 @@
-SHA256 (libtpl-1.5.tar.bz2) = 50a2cc80775f0a70a033b2f663419c8322e8f43b754c32675dad97ba42db24d5
-SIZE (libtpl-1.5.tar.bz2) = 590163
+SHA256 (libtpl-1.6.tar.bz2) = 33a768a704999cdd8e3c01259cf1628032d8fa0375943970e31212bc900e696e
+SIZE (libtpl-1.6.tar.bz2) = 579051

Modified: head/devel/libtpl/pkg-descr
==============================================================================
--- head/devel/libtpl/pkg-descr	Sun Jun 16 07:07:17 2013	(r321024)
+++ head/devel/libtpl/pkg-descr	Sun Jun 16 08:14:35 2013	(r321025)
@@ -1,5 +1,6 @@
-Tpl is a library for serializing C data. The data is stored in its 
-natural binary form. The API is small and tries to stay "out of the
-way". Tpl can serialize many C data types, including structures.
+You can use tpl to store and reload your C data quickly and easily. 
+Tpl works with files, memory buffers and file descriptors so it's 
+suitable for use as a file format, IPC message format or any scenario 
+where you need to store and retrieve your data.
 
-WWW: http://tpl.sourceforge.net/
+WWW: http://troydhanson.github.io/tpl/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Frederic Culot freebsd_committer freebsd_triage 2013-06-16 09:14:59 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!