blob: 36df2d8461599b2c17ddaed5fad1d4316bbbcd52 (
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
39
|
# Created by: Kelly Hays <kelly.hays@jkhfamily.org>
# $FreeBSD$
PORTNAME= luafilesystem
DISTVERSIONPREFIX= v_
DISTVERSION= 1_6_3
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= fiziologus@gmail.com
COMMENT= Library to access directory structure and file attributes
LICENSE= MIT
USES?= lua
USE_GITHUB= yes
GH_ACCOUNT= keplerproject
ALL_TARGET= lib
PLIST_FILES= %%LUA_MODLIBDIR%%/lfs.so
PORTDOCS= *
MAKE_ARGS+= INCS="-I${LUA_INCDIR}"
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e \
"s|%%PREFIX%%|${PREFIX}| ; \
s|%%MODLIBDIR%%|${LUA_MODLIBDIR}| ; \
s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/config
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${WRKSRC}/doc/us/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|