ee2998379f
LGI is gobject-introspection based dynamic Lua binding to GObject based libraries. It allows using GObject-based libraries directly from Lua. ok aja@
39 lines
842 B
Makefile
39 lines
842 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/12 13:46:36 jasper Exp $
|
|
|
|
COMMENT= lua bindings to libraries using GObject-Introspection
|
|
|
|
DISTNAME= lgi-0.4
|
|
PKGNAME= lua-${DISTNAME}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://github.com/pavouk/lgi
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= devel/gettext \
|
|
lang/lua
|
|
|
|
WANTLIB += ffi girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0
|
|
|
|
LIB_DEPENDS= devel/gobject-introspection
|
|
|
|
MASTER_SITES= https://github.com/downloads/pavouk/lgi/ \
|
|
http://distfiles.nl/
|
|
|
|
USE_GMAKE= Yes
|
|
MAKE_ENV= MAKE=${MAKE_PROGRAM}
|
|
|
|
REGRESS_TARGET= check
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lua-lgi/
|
|
cd ${WRKSRC}/samples/ && umask 022 && \
|
|
pax -rw . ${PREFIX}/share/examples/lua-lgi/
|
|
|
|
.include <bsd.port.mk>
|