aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtpl/Makefile
blob: 0ceae9299dfaf0f41b6ab2ceb6ae34a934fd84fc (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
PORTREVISION=   1
CATEGORIES= devel

MAINTAINER= culot@FreeBSD.org
COMMENT=    Tpl is a 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>