aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2013-06-16 16:14:35 +0800
committerculot <culot@FreeBSD.org>2013-06-16 16:14:35 +0800
commit9c2b364b4be6751dd52d9ec0b169ecd7eeef24f9 (patch)
tree5c0d03206d28024e879e7f0b2021d01ffe8a758b /devel
parentf70b8065d11b3863c6e03459c2f609bab21feb92 (diff)
downloadfreebsd-ports-gnome-9c2b364b4be6751dd52d9ec0b169ecd7eeef24f9.tar.gz
freebsd-ports-gnome-9c2b364b4be6751dd52d9ec0b169ecd7eeef24f9.tar.zst
freebsd-ports-gnome-9c2b364b4be6751dd52d9ec0b169ecd7eeef24f9.zip
- 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>
Diffstat (limited to 'devel')
-rw-r--r--devel/libtpl/Makefile30
-rw-r--r--devel/libtpl/distinfo4
-rw-r--r--devel/libtpl/pkg-descr9
-rw-r--r--devel/libtpl/pkg-plist7
4 files changed, 28 insertions, 22 deletions
diff --git a/devel/libtpl/Makefile b/devel/libtpl/Makefile
index b5ede4d29616..a4304b84fc51 100644
--- a/devel/libtpl/Makefile
+++ b/devel/libtpl/Makefile
@@ -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 serializing C data
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>
diff --git a/devel/libtpl/distinfo b/devel/libtpl/distinfo
index fd1155ca0652..f7873ad81d66 100644
--- a/devel/libtpl/distinfo
+++ b/devel/libtpl/distinfo
@@ -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
diff --git a/devel/libtpl/pkg-descr b/devel/libtpl/pkg-descr
index 019ab031cf04..396ac53adc87 100644
--- a/devel/libtpl/pkg-descr
+++ b/devel/libtpl/pkg-descr
@@ -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/
diff --git a/devel/libtpl/pkg-plist b/devel/libtpl/pkg-plist
deleted file mode 100644
index 1a0c4fdfb8af..000000000000
--- a/devel/libtpl/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-include/tpl.h
-lib/libtpl.la
-lib/libtpl.so.0
-lib/libtpl.so
-lib/libtpl.a
-%%PORTDOCS%%%%DOCSDIR%%/userguide.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%