svn commit: r321025 - head/devel/libtpl
Frederic Culot
culot at FreeBSD.org
Sun Jun 16 08:14:36 UTC 2013
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 at 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 at culot.org>
-#
+# Created by: Frederic Culot <frederic at 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 at 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/
More information about the svn-ports-head
mailing list