freebsd-ports/lang/nickle/Makefile
Sunpoet Po-Chuan Hsieh 40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00

36 lines
886 B
Makefile

# Created by: Christopher Elkins <chrise@scardini.com>
# $FreeBSD$
PORTNAME= nickle
PORTVERSION= 2.84
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.nickle.org/release/
MAINTAINER= wen@FreeBSD.org
COMMENT= Numeric-oriented programming language
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake ncurses readline
GNU_CONFIGURE= yes
PORTEXAMPLES= *
# Nickle now has bindings which are likely to pull in libraries that need
# libpthread. Link to it now explicitly, or it wouldn't work at runtime.
LDFLAGS+= -pthread
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|examples|| ; s| -O2||' \
${WRKSRC}/Makefile.in
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${FIND} ${WRKSRC}/examples -name 'Makefile*' -exec ${RM} {} +
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . "${STAGEDIR}${EXAMPLESDIR}"
.include <bsd.port.mk>