View | Details | Raw Unified | Return to bug 179575
Collapse All | Expand All

(-)Makefile (-10 / +18 lines)
Lines 1-28 Link Here
1
# New ports collection makefile for:	libtpl
1
# Created by: "Waitman Gobble" <waitman@waitman.net>
2
# Date created:				30 July 2010
3
# Whom:					Frederic Culot <frederic@culot.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	libtpl
4
PORTNAME=	libtpl
9
PORTVERSION=	1.5
5
PORTVERSION=	1.6
10
CATEGORIES=	devel
6
CATEGORIES=	devel
11
MASTER_SITES=	SF/tpl/tpl/${PORTNAME}-${PORTVERSION}/
7
MASTER_SITES=	GH
12
8
13
MAINTAINER=	culot@FreeBSD.org
9
MAINTAINER=	culot@FreeBSD.org
14
COMMENT=	Tpl is a library for serializing C data
10
COMMENT=	Tpl is a library for serializing C data
15
11
16
LICENSE=	BSD
12
LICENSE=	BSD
13
LICENSE_FILE=	${WRKSRC}/LICENSE
17
14
18
USE_BZIP2=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	waitman
17
GH_TAGNAME=	${GH_COMMIT}
18
GH_COMMIT=	8fa17e5
19
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
CONFIGURE_ARGS+=	--enable-shared
20
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
21
23
24
PORTDOCS=	ChangeLog.txt examples.txt userguide.txt compiling.txt
25
26
.include <bsd.port.options.mk>
27
22
post-install:
28
post-install:
23
.if !defined(NOPORTDOCS)
29
.if ${PORT_OPTIONS:MDOCS}
24
	@${MKDIR} ${DOCSDIR}
30
	@${MKDIR} ${DOCSDIR}
25
	${INSTALL_DATA} ${WRKSRC}/doc/txt/userguide.txt ${DOCSDIR}
31
.for f in ${PORTDOCS}
32
	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
33
.endfor
26
.endif
34
.endif
27
35
28
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libtpl-1.5.tar.bz2) = 50a2cc80775f0a70a033b2f663419c8322e8f43b754c32675dad97ba42db24d5
1
SHA256 (libtpl-1.6.tar.gz) = 33a768a704999cdd8e3c01259cf1628032d8fa0375943970e31212bc900e696e
2
SIZE (libtpl-1.5.tar.bz2) = 590163
2
SIZE (libtpl-1.6.tar.gz) = 579051
(-)pkg-descr (-4 / +7 lines)
Lines 1-5 Link Here
1
Tpl is a library for serializing C data. The data is stored in its 
1
Efficient serialization in C
2
natural binary form. The API is small and tries to stay "out of the
3
way". Tpl can serialize many C data types, including structures.
4
2
5
WWW: http://tpl.sourceforge.net/
3
You can use tpl to store and reload your C data quickly and easily. 
4
Tpl works with files, memory buffers and file descriptors so it's 
5
suitable for use as a file format, IPC message format or any scenario 
6
where you need to store and retrieve your data.
7
8
WWW: http://troydhanson.github.io/tpl/
(-)pkg-plist (+3 lines)
Lines 4-7 Link Here
4
lib/libtpl.so
4
lib/libtpl.so
5
lib/libtpl.a
5
lib/libtpl.a
6
%%PORTDOCS%%%%DOCSDIR%%/userguide.txt
6
%%PORTDOCS%%%%DOCSDIR%%/userguide.txt
7
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
8
%%PORTDOCS%%%%DOCSDIR%%/examples.txt
9
%%PORTDOCS%%%%DOCSDIR%%/compiling.txt
7
%%PORTDOCS%%@dirrm %%DOCSDIR%%
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 179575