144e2930d7
use FLAVOR=lua52 to use lua 5.2 with these ports.
38 lines
762 B
Makefile
38 lines
762 B
Makefile
# $OpenBSD: Makefile,v 1.15 2012/07/10 15:22:44 jasper Exp $
|
|
|
|
COMMENT= alarm library for the lua language
|
|
SHARED_ONLY= Yes
|
|
|
|
DISTNAME= lalarm
|
|
DATE= 20061011
|
|
PKGNAME= luaalarm-${DATE}
|
|
REVISION = 3
|
|
# don't use PKGNAME
|
|
DIST_SUBDIR= luaalarm-${DATE}
|
|
WRKDIST= ${WRKDIR}/alarm
|
|
CATEGORIES= devel
|
|
|
|
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
|
|
|
|
MODULES= lang/lua
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/alarm.so ${MODLUA_LIBDIR}
|
|
|
|
do-regress:
|
|
rm -f ${WRKDIST}/alarm.lua
|
|
cd ${WRKDIST} && ${MODLUA_BIN} test.lua
|
|
|
|
.include <bsd.port.mk>
|