blob: 24e4eef38eb9c5f8604f3047707c1eb1507773fa (
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
35
36
37
38
|
# Created by: gahr@FreeBSD.org
# $FreeBSD$
PORTNAME= nx
DISTVERSION= 2.0b5
CATEGORIES= lang
MASTER_SITES= SF/next-scripting/${DISTVERSION}/
DISTNAME= nsf${DISTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Highly flexible, Tcl-based, object-oriented scripting language
LICENSE= MIT
OPTIONS_DEFINE= DOCS
CONFLICTS= xotcl-1.*
USES+= tcl:85+
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \
--with-tcl=${TCL_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR}
PLIST_SUB+= PKGNAME=${DISTNAME}
PORTDOCS= *
post-patch:
${CP} ${FILESDIR}/genStubs.tcl ${WRKSRC}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
regression-test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
.include <bsd.port.mk>
|