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> |