math/R: Do not specify minimum tk version

Specifying TCLTK_USES=tk:84+ was pulling in version 8.4 for package builds on
cluster, however the Tcl/Tk 8.4 ports are being deprecated.  Simply using
TCLTK_USES=tk pulls in the default version. [1]

While here, silence a portlint warning about the location of ONLY_FOR_ARCHS and
use DISTVESION instead of PORTVERSION.

Reported by:	gahr [1]
This commit is contained in:
Joseph Mingrone 2017-09-05 13:14:52 +00:00
parent 9bbd7d2909
commit 7b2d61519b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449282

View file

@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= R
PORTVERSION= 3.4.1
PORTREVISION= 5
DISTVERSION= 3.4.1
PORTREVISION= 6
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
@ -12,6 +12,8 @@ COMMENT= Language for statistical computing and graphics
LICENSE= GPLv2
ONLY_FOR_ARCHS= aarch64 amd64 i386
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre.so:devel/pcre
BUILD_DEPENDS= texi2any:print/texinfo
@ -22,10 +24,8 @@ CONFIGURE_ARGS= --disable-java \
rdocdir=${DOCSDIR}
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
ONLY_FOR_ARCHS= aarch64 amd64 i386
USES= gmake iconv libtool localbase \
pathfix perl5 readline:port
USE_PERL5= build
USE_LDCONFIG= ${PREFIX}/lib/R/lib
@ -128,7 +128,7 @@ RBLAS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_extra_blas_Makefile.in \
${PATCHDIR}/extra-patch-src_modules_lapack_Makefile.in
RPROF_CONFIGURE_ENABLE= R-profiling
TCLTK_IMPLIES= X11
TCLTK_USES= tcl tk:84+
TCLTK_USES= tcl tk
TCLTK_CONFIGURE_WITH= tcltk
.for i in KPSEWHICH MAKEINDEX PDFLATEX PDFTEX TEX TEXI2DVI
TEXDOCS_CONFIGURE_ENV_OFF+= ac_cv_path_${i}=""