openbsd-ports/lang/eagle/Makefile
stu fa47230476 Import eagle 1.0-beta12:
Eagle (Extensible Adaptable Generalized Logic Engine) is an
implementation of the Tcl language for the Common Language Runtime
(CLR). Eagle was written from scratch based on the design and
implementation of Tcl 8.4 and provides most of the functionality of the
Tcl 8.4 interpreter while borrowing selected features from Tcl 8.5 and
the upcoming Tcl 8.6, in addition to adding entirely new features.
Feedback and ok from jasper@ and thanks to all for their patience with me.
2011-01-13 13:30:46 +00:00

64 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/01/13 13:30:46 stu Exp $
COMMENT = Tcl implementation for the CLR
V = 1.0
P = 4010.41132
DISTNAME = eagle-${V}
PKGNAME = ${DISTNAME}-beta12
CATEGORIES = lang lang/tcl
HOMEPAGE = http://eagle.to/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE:=releases/${V}.${P}/}
DISTFILES = EagleBinaryMonoOnUnix${V}.${P}.rar
EXTRACT_CASES = *.rar) ${LOCALBASE}/bin/unrar x -idq ${DISTDIR}/$$archive;;
MODULES = lang/mono
MODMONO_DEPS = No
BUILD_DEPENDS = archivers/unrar
RUN_DEPENDS = ${MODMONO_RUN_DEPENDS}
REGRESS_DEPENDS=${MODMONO_RUN_DEPENDS}
REGRESS_IS_INTERACTIVE = X11
NO_BUILD = Yes
WRKSRC = ${WRKDIR}/Eagle
EAGLE_DIR = libdata/Eagle
EAGLE_INS_DIR = ${PREFIX}/${EAGLE_DIR}
EAGLE_BIN_DIR = ${EAGLE_INS_DIR}/bin
EAGLE_LIB_DIR = ${EAGLE_INS_DIR}/lib/Eagle${V}
EAGLE_BIN = ${PREFIX}/bin/eagle
do-install:
${INSTALL_DATA_DIR} ${EAGLE_BIN_DIR} ${EAGLE_LIB_DIR}
.for SRC GLOB DEST in \
bin * ${EAGLE_BIN_DIR} \
lib/Eagle${V} * ${EAGLE_LIB_DIR} \
. license.terms ${EAGLE_INS_DIR}
${INSTALL_DATA} ${WRKSRC}/${SRC}/${GLOB} ${DEST}
.endfor
echo '#! /bin/sh' > ${EAGLE_BIN}
echo 'exec mono ${TRUEPREFIX}/${EAGLE_DIR}/bin/EagleShell.exe $${1+"$$@"}' >> ${EAGLE_BIN}
${CHOWN} ${BINOWN}:${BINGRP} ${EAGLE_BIN}
${CHMOD} ${BINMODE} ${EAGLE_BIN}
# Some tests are too timing-sensitive to succeed everywhere so don't run them
do-regress:
${SETENV} ${MAKE_ENV} ${ALL_REGRESS_FLAGS} \
${LOCALBASE}/bin/mono ${WRKSRC}/bin/EagleShell.exe \
-preinit 'set test_log ""' \
-file ${WRKSRC}/tests/all.eagle \
-notFile 'benchmark.eagle delayout.eagle perf*.eagle'
.include <bsd.port.mk>