3a38b5ecfe
- tweak comment
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2010/07/08 12:38:23 jasper Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= time profiler for Lua
|
|
|
|
DISTNAME= luaprofiler-2.0.2
|
|
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${LOCALBASE}/include -fPIC
|
|
|
|
WRKSRC= ${WRKDIST}/src/
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR}/luaprofiler/\
|
|
${PREFIX}/share/doc/luaprofiler/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/profiler.so ${MODLUA_LIBDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/analyzer/summary.lua \
|
|
${MODLUA_DATADIR}/luaprofiler/
|
|
${INSTALL_DATA} ${WRKDIST}/doc/us/*.html ${PREFIX}/share/doc/luaprofiler/
|
|
|
|
.include <bsd.port.mk>
|