blob: 853a763a4866e2e1dc8e7ab7f218934034dc7a37 (
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
38
|
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$
PORTNAME= faup
PORTVERSION= 1.5
DISTVERSIONPREFIX= v
CATEGORIES= www devel
MASTER_SITES= GH LOCAL/antoine
MAINTAINER= antoine@FreeBSD.org
COMMENT= Fast URL decoder library
LICENSE= WTFPL
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= stricaud
USES= cmake:outsource lua
USE_LDCONFIG= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} "s,LUA_VERSION,LUA_VERSION_STRING, ; \
s,pkg_check_modules(LUA lua>=5.1),FIND_PACKAGE(Lua REQUIRED), ; \
s,LUA_INCLUDE_DIRS,LUA_INCLUDE_DIR," \
${WRKSRC}/CMakeLists.txt \
${WRKSRC}/src/lib/CMakeLists.txt \
${WRKSRC}/src/tools/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|