ports/179575: Update port: devel/libtpl to 1.6
Waitman Gobble
uzimac at da3m0n8t3r.com
Sat Jun 15 15:50:01 UTC 2013
>Number: 179575
>Category: ports
>Synopsis: Update port: devel/libtpl to 1.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 15 15:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Waitman Gobble
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
Waitman Gobble
>Environment:
System: FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251357: Mon Jun 3 20:42:39 PDT 2013 root at dx.burplex.com:/usr/obj/usr/src/sys/FURAHA amd64
>Description:
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
>How-To-Repeat:
>Fix:
--- libtpl.diff begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 321004)
+++ Makefile (working copy)
@@ -1,28 +1,36 @@
-# New ports collection makefile for: libtpl
-# Date created: 30 July 2010
-# Whom: Frederic Culot <frederic at culot.org>
-#
+# Created by: "Waitman Gobble" <waitman at waitman.net>
# $FreeBSD$
-#
PORTNAME= libtpl
-PORTVERSION= 1.5
+PORTVERSION= 1.6
CATEGORIES= devel
-MASTER_SITES= SF/tpl/tpl/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES= GH
MAINTAINER= culot at FreeBSD.org
COMMENT= Tpl is a library for serializing C data
LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
-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
+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>
Index: distinfo
===================================================================
--- distinfo (revision 321004)
+++ distinfo (working copy)
@@ -1,2 +1,2 @@
-SHA256 (libtpl-1.5.tar.bz2) = 50a2cc80775f0a70a033b2f663419c8322e8f43b754c32675dad97ba42db24d5
-SIZE (libtpl-1.5.tar.bz2) = 590163
+SHA256 (libtpl-1.6.tar.gz) = 33a768a704999cdd8e3c01259cf1628032d8fa0375943970e31212bc900e696e
+SIZE (libtpl-1.6.tar.gz) = 579051
Index: pkg-descr
===================================================================
--- pkg-descr (revision 321004)
+++ pkg-descr (working copy)
@@ -1,5 +1,8 @@
-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.
+Efficient serialization in C
-WWW: http://tpl.sourceforge.net/
+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://troydhanson.github.io/tpl/
Index: pkg-plist
===================================================================
--- pkg-plist (revision 321004)
+++ pkg-plist (working copy)
@@ -4,4 +4,7 @@
lib/libtpl.so
lib/libtpl.a
%%PORTDOCS%%%%DOCSDIR%%/userguide.txt
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
+%%PORTDOCS%%%%DOCSDIR%%/examples.txt
+%%PORTDOCS%%%%DOCSDIR%%/compiling.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- libtpl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list