1 # Created by: Christopher Elkins <chrise@scardini.com>
7 MASTER_SITES= http://www.nickle.org/release/
9 MAINTAINER= ports@FreeBSD.org
10 COMMENT= Numeric-oriented programming language
14 USES= gmake ncurses readline
17 # Nickle now has bindings which are likely to pull in libraries that need
18 # libpthread. Link to it now explicitly, or it wouldn't work at runtime.
21 OPTIONS_DEFINE= EXAMPLES
24 @${REINPLACE_CMD} -e '/^SUBDIRS/s|examples|| ; s| -O2||' \
28 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
29 (cd ${WRKSRC}/examples && ${FIND} . ! \( -name "*Makefile*" -or \
30 -name "*.sgml" \) | ${CPIO} -pdm -L \
31 -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR})
32 @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d | ${XARGS} ${CHMOD} a+rx
33 @${FIND} ${STAGEDIR}${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} \
36 .include <bsd.port.mk>