blob: 6c3f35710ccd7ccb065234cd026fbcfe096294a7 (
plain)
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
|
PORTNAME= nx
DISTVERSION= 2.3.0
PORTREVISION= 0
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
USES+= gmake tcl:tea
USE_LDCONFIG= yes
TEST_TARGET= test
PLIST_SUB+= PKGNAME=${DISTNAME} PORTVERSION=${PORTVERSION}
PORTDOCS= *
post-patch:
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
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${DISTNAME}/lib${DISTNAME}.so
.include <bsd.port.mk>
|