1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/devel/lua-posix/Makefile
Mathieu Arnold c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00

46 lines
1.2 KiB
Makefile

# Created by: Andrew Turner <andrew+ports@fubar.geek.nz>
# $FreeBSD$
PORTNAME= posix
PORTVERSION= 31
DISTVERSIONPREFIX= release-v
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= POSIX layer for Lua
LICENSE= MIT
USES= lua perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ENV= LUA_INCLUDE=-I${LUA_INCDIR} \
LUA=${LOCALBASE}/bin/lua${LUA_VER_STR}
USE_GITHUB= yes
GH_PROJECT= luaposix
GH_ACCOUNT= luaposix
MAKE_ARGS= POSIX_EXTRA_CFLAGS="" POSIX_EXTRA_LDFLAGS=""
PLIST_FILES= %%LUA_MODSHAREDIR%%/curses.lua \
%%LUA_MODLIBDIR%%/curses_c.so \
%%LUA_MODSHAREDIR%%/posix.lua \
%%LUA_MODLIBDIR%%/posix_c.so
PORTDOCS= *
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_LIB} ${WRKSRC}/ext/posix/.libs/posix_c.so ${STAGEDIR}${LUA_MODLIBDIR}/
${INSTALL_LIB} ${WRKSRC}/ext/curses/.libs/curses_c.so ${STAGEDIR}${LUA_MODLIBDIR}/
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
${INSTALL_SCRIPT} ${WRKSRC}/lib/curses.lua ${STAGEDIR}${LUA_MODSHAREDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/lib/posix.lua ${STAGEDIR}${LUA_MODSHAREDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>