1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove unneeded conditional around DOCS installation

- Re-order LICENSE and OPTIONS_DEFINE
This commit is contained in:
Pietro Cerutti 2014-01-16 16:57:20 +00:00
parent 4e32fe4224
commit 920409742d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339933

View File

@ -10,10 +10,10 @@ DISTNAME= nsf${DISTVERSION}
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Highly flexible, Tcl-based, object-oriented scripting language
OPTIONS_DEFINE= DOCS
LICENSE= MIT
OPTIONS_DEFINE= DOCS
CONFLICTS= xotcl-1.*
USES+= tcl:85+
@ -25,16 +25,12 @@ CONFIGURE_ARGS+=--exec-prefix=${PREFIX} \
PLIST_SUB+= PKGNAME=${DISTNAME}
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
${CP} ${FILESDIR}/genStubs.tcl ${WRKSRC}
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.endif
regression-test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test