summaryrefslogtreecommitdiff
path: root/devel/libtpl/Makefile
blob: 9f904c461c3756be6df2dc4c32afd0117d30a0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Frederic Culot <frederic@culot.org>

PORTNAME=	libtpl
PORTVERSION=	1.6
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library for serializing C data

LICENSE=	GPLv3 MIT
LICENSE_COMB=	multi

OPTIONS_DEFINE=	DOCS

USES=		libtool
USE_GITHUB=	yes
GH_ACCOUNT=	waitman
GH_TAGNAME=	8fa17e5

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-shared
USE_LDCONFIG=	yes

PLIST_FILES=	lib/libtpl.a lib/libtpl.so \
		lib/libtpl.so.0 lib/libtpl.so.0.0.0 \
		include/tpl.h

PORTDOCS=	ChangeLog.txt examples.txt userguide.txt compiling.txt

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>