1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/lang/nx/Makefile
Pietro Cerutti 920409742d - Remove unneeded conditional around DOCS installation
- Re-order LICENSE and OPTIONS_DEFINE
2014-01-16 16:57:20 +00:00

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>