openbsd-ports/devel/luaalarm/Makefile

35 lines
756 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2007/09/16 02:53:01 merdely Exp $
COMMENT= alarm library for the lua language
SHARED_ONLY= Yes
DISTNAME= lalarm
2007-06-04 15:39:59 -04:00
DATE= 20061011
PKGNAME= luaalarm-${DATE}p1
# don't use PKGNAME
DIST_SUBDIR= luaalarm-${DATE}
WRKDIST= ${WRKDIR}/alarm
CATEGORIES= devel
2006-07-13 08:35:54 -04:00
MASTER_SITES= ${HOMEPAGE}5.0/
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
RUN_DEPENDS= ::lang/lua
BUILD_DEPENDS= ${RUN_DEPENDS}
do-install:
2006-07-30 00:33:18 -04:00
${INSTALL_DATA_DIR} ${PREFIX}/lib/lua/5.1
2006-09-24 13:18:16 -04:00
${INSTALL_DATA} ${WRKSRC}/alarm.so ${PREFIX}/lib/lua/5.1
2007-06-04 15:39:59 -04:00
do-regress:
rm -f ${WRKDIST}/alarm.lua
cd ${WRKDIST} && ${LOCALBASE}/bin/lua test.lua
.include <bsd.port.mk>