2013-11-11 14:40:44 +00:00
|
|
|
# Created by: gahr@FreeBSD.org
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nx
|
2018-10-01 08:11:53 +00:00
|
|
|
DISTVERSION= 2.2.0
|
|
|
|
PORTREVISION= 0
|
2013-11-11 14:40:44 +00:00
|
|
|
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
|
|
|
|
|
2014-01-16 16:57:20 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2016-04-21 11:33:16 +00:00
|
|
|
USES+= gmake tcl:85+,tea
|
2013-11-11 14:40:44 +00:00
|
|
|
USE_LDCONFIG= yes
|
2015-10-15 18:47:13 +00:00
|
|
|
TEST_TARGET= test
|
2013-11-11 14:40:44 +00:00
|
|
|
PLIST_SUB+= PKGNAME=${DISTNAME}
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2017-07-27 13:00:35 +00:00
|
|
|
post-patch:
|
2018-10-01 08:11:53 +00:00
|
|
|
cd ${WRKSRC}/doc && for f in *.1; do ${MV} $$f $${f%.1}.nx.1; done
|
|
|
|
cd ${WRKSRC}/doc && for f in *.3; do ${MV} $$f $${f%.3}.nx.3; done
|
2017-07-27 13:00:35 +00:00
|
|
|
|
2013-11-11 14:40:44 +00:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
2015-10-15 18:47:13 +00:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${DISTNAME}/lib${DISTNAME}.so
|
2013-11-11 14:40:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|