mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
920409742d
- Re-order LICENSE and OPTIONS_DEFINE
39 lines
804 B
Makefile
39 lines
804 B
Makefile
# 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>
|