summaryrefslogtreecommitdiff
path: root/devel/libtpl/Makefile
blob: 56f020c35b86fcb137868af0ab9ebf2ad6642afe (plain) (blame)
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
38
# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$

PORTNAME=	libtpl
PORTVERSION=	1.6
CATEGORIES=	devel
MASTER_SITES=	GH

MAINTAINER=	culot@FreeBSD.org
COMMENT=	Tpl is a library for serializing C data

OPTIONS_DEFINE=	DOCS

LICENSE=	BSD

USES=	tar:bzip2
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

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

.include <bsd.port.mk>