2010-11-15 14:45:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2010/11/15 19:46:00 espie Exp $
|
2006-01-25 18:32:13 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= alarm library for the lua language
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2006-01-25 18:32:13 -05:00
|
|
|
|
|
|
|
DISTNAME= lalarm
|
2007-06-04 15:39:59 -04:00
|
|
|
DATE= 20061011
|
2010-11-15 14:45:56 -05:00
|
|
|
PKGNAME= luaalarm-${DATE}
|
|
|
|
REVISION = 2
|
2007-07-10 01:15:03 -04:00
|
|
|
# don't use PKGNAME
|
|
|
|
DIST_SUBDIR= luaalarm-${DATE}
|
2006-01-25 18:32:13 -05:00
|
|
|
WRKDIST= ${WRKDIR}/alarm
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
2006-07-13 08:35:54 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}5.0/
|
2006-01-25 18:32:13 -05:00
|
|
|
HOMEPAGE= http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/
|
|
|
|
|
|
|
|
# PD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-06-11 01:04:37 -04:00
|
|
|
MODULES= lang/lua
|
2006-01-25 18:32:13 -05:00
|
|
|
|
|
|
|
do-install:
|
2010-06-18 13:59:06 -04:00
|
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/alarm.so ${MODLUA_LIBDIR}
|
2006-01-25 18:32:13 -05:00
|
|
|
|
2007-06-04 15:39:59 -04:00
|
|
|
do-regress:
|
|
|
|
rm -f ${WRKDIST}/alarm.lua
|
|
|
|
cd ${WRKDIST} && ${LOCALBASE}/bin/lua test.lua
|
|
|
|
|
2006-01-25 18:32:13 -05:00
|
|
|
.include <bsd.port.mk>
|