blob: 51123f74229c9fb4326b98148d4867cfb1888b5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Christopher Elkins <chrise@scardini.com>
PORTNAME= nickle
PORTVERSION= 2.90
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>
|