mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
1b232017e9
- Pet portclippy - Adopt port Sponsored by: The FreeBSD Foundation
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
PORTNAME= lambda
|
|
PORTVERSION= 0.1.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://uniquesoftwaredesigns.com/${PORTNAME}/
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Lambda calculus interpreter
|
|
WWW= https://uniquesoftwaredesigns.com/lambda/docs/lambda.html
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= perl5 ncurses readline shebangfix
|
|
USE_CXXSTD= c++14
|
|
USE_PERL5= build
|
|
|
|
SHEBANG_FILES= docs/trans_xml_for_cat.pl
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/lambda \
|
|
share/lambda/definitions \
|
|
share/lambda/definitions_with_numbers
|
|
|
|
DOCS= lambda.html lambdamanual.html user_manual_style.css
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/configure \
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lambda ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/definitions* ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|