144e2930d7
use FLAVOR=lua52 to use lua 5.2 with these ports.
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2012/07/10 15:22:44 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= time profiler for Lua
|
|
|
|
DISTNAME= luaprofiler-2.0.2
|
|
REVISION= 0
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://luaprofiler.luaforge.net/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= lang/lua
|
|
|
|
MASTER_SITES= http://luaforge.net/frs/download.php/3400/
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
# XXX: Fix this mess and the mess in patch-Makefile_linux
|
|
# Makefile.linux is used from the top level, and puts the files there,
|
|
# but references files from elsewhere (ie. src/clock.o).
|
|
MAKE_FILE= ../Makefile.linux
|
|
ALL_TARGET= # empty
|
|
CFLAGS += -I${MODLUA_INCL_DIR} -fPIC
|
|
|
|
WRKSRC= ${WRKDIST}/src/
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR}/luaprofiler/\
|
|
${MODLUA_DOCDIR}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/profiler.so ${MODLUA_LIBDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/analyzer/summary.lua \
|
|
${MODLUA_DATADIR}/luaprofiler/
|
|
${INSTALL_DATA} ${WRKDIST}/doc/us/*.html ${MODLUA_DOCDIR}
|
|
|
|
.include <bsd.port.mk>
|