2013-03-11 10:50:00 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2013/03/11 10:50:11 espie Exp $
|
2006-01-25 23:32:13 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= alarm library for the lua language
|
2007-07-04 19:18:45 +00:00
|
|
|
SHARED_ONLY= Yes
|
2006-01-25 23:32:13 +00:00
|
|
|
|
|
|
|
DISTNAME= lalarm
|
2007-06-04 19:39:59 +00:00
|
|
|
DATE= 20061011
|
2010-11-15 19:45:56 +00:00
|
|
|
PKGNAME= luaalarm-${DATE}
|
2012-07-10 15:22:44 +00:00
|
|
|
REVISION = 3
|
2007-07-10 05:15:03 +00:00
|
|
|
# don't use PKGNAME
|
|
|
|
DIST_SUBDIR= luaalarm-${DATE}
|
2006-01-25 23:32:13 +00:00
|
|
|
WRKDIST= ${WRKDIR}/alarm
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
2006-07-13 12:35:54 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}5.0/
|
2006-01-25 23:32:13 +00:00
|
|
|
HOMEPAGE= http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
|
|
|
|
|
|
|
|
# PD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2008-06-11 05:04:37 +00:00
|
|
|
MODULES= lang/lua
|
2006-01-25 23:32:13 +00:00
|
|
|
|
2012-07-10 15:22:44 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/Makefile
|
|
|
|
|
2006-01-25 23:32:13 +00:00
|
|
|
do-install:
|
2010-06-18 17:59:06 +00:00
|
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/alarm.so ${MODLUA_LIBDIR}
|
2006-01-25 23:32:13 +00:00
|
|
|
|
2013-03-11 10:50:00 +00:00
|
|
|
do-test:
|
2007-06-04 19:39:59 +00:00
|
|
|
rm -f ${WRKDIST}/alarm.lua
|
2012-07-10 15:22:44 +00:00
|
|
|
cd ${WRKDIST} && ${MODLUA_BIN} test.lua
|
2007-06-04 19:39:59 +00:00
|
|
|
|
2006-01-25 23:32:13 +00:00
|
|
|
.include <bsd.port.mk>
|