aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nx/Makefile
blob: bbea6ceb5853d417d853463c74c9abb05898a053 (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
# Created by: gahr@FreeBSD.org
# $FreeBSD$

PORTNAME=   nx
DISTVERSION=    2.1.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

CONFLICTS=  xotcl-1.*

USES+=      gmake tcl:85+,tea
USE_LDCONFIG=   yes
TEST_TARGET=    test
PLIST_SUB+= PKGNAME=${DISTNAME}
PORTDOCS=   *

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>