2013-09-20 22:55:04 +02:00
|
|
|
# Created by: ijliao
|
2004-05-14 03:33:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lambda
|
|
|
|
PORTVERSION= 0.1.4
|
2019-04-09 16:04:49 +02:00
|
|
|
PORTREVISION= 2
|
2004-05-14 03:33:15 +02:00
|
|
|
CATEGORIES= math
|
2016-01-01 16:49:44 +01:00
|
|
|
MASTER_SITES= http://uniquesoftwaredesigns.com/${PORTNAME}/
|
2004-05-14 03:33:15 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-15 15:31:57 +01:00
|
|
|
COMMENT= Lambda calculus interpreter
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2004-05-14 03:33:15 +02:00
|
|
|
|
2016-02-07 12:44:47 +01:00
|
|
|
USES= perl5 ncurses readline shebangfix
|
2013-08-03 15:44:00 +02:00
|
|
|
USE_PERL5= build
|
2014-11-29 13:22:21 +01:00
|
|
|
SHEBANG_FILES= docs/trans_xml_for_cat.pl
|
2004-05-14 03:33:15 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2014-02-15 15:31:57 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2004-05-14 03:33:15 +02:00
|
|
|
PLIST_FILES= bin/lambda \
|
|
|
|
share/lambda/definitions \
|
|
|
|
share/lambda/definitions_with_numbers
|
|
|
|
|
|
|
|
DOCS= lambda.html lambdamanual.html user_manual_style.css
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2016-02-07 12:44:47 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
|
|
|
|
|
2004-05-14 03:33:15 +02:00
|
|
|
do-install:
|
2014-02-15 15:31:57 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lambda ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/definitions* ${STAGEDIR}${DATADIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2004-05-14 03:33:15 +02:00
|
|
|
.for file in ${DOCS}
|
2014-02-15 15:31:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}
|
2004-05-14 03:33:15 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|