aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk85
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-09-20 07:43:51 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-09-20 07:43:51 +0000
commit672a7034b6cabbaedcb59031f87c67f067e63824 (patch)
treeed5206bc6ebcc567d7f863d751c07e580aa3a256 /x11-toolkits/tk85
parent335927cf6f6f9726660614a916625a9acbfb04e1 (diff)
downloadports-672a7034b6cabbaedcb59031f87c67f067e63824.tar.gz
ports-672a7034b6cabbaedcb59031f87c67f067e63824.zip
Notes
Diffstat (limited to 'x11-toolkits/tk85')
-rw-r--r--x11-toolkits/tk85/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile
index ef615a514248..fb414d144768 100644
--- a/x11-toolkits/tk85/Makefile
+++ b/x11-toolkits/tk85/Makefile
@@ -2,12 +2,13 @@
# $FreeBSD$
PORTNAME= tk
-DISTVERSION= 8.5.15
+PORTVERSION= 8.5.15
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_TCLTK} \
SF/tcl/Tcl/${PORTVERSION}
MASTER_SITE_SUBDIR=tcl8_5
-DISTNAME= ${PORTNAME}${DISTVERSION}-src
+PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
+DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Graphical toolkit for Tcl
@@ -16,7 +17,7 @@ LICENSE= BSD
LICENSE_TERMS= ${WRKSRC}/../license.terms
-LATEST_LINK= tk85
+USES+= tcl:${SHORT_TK_VER}
USE_XORG= x11 xft xscrnsaver
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix
@@ -32,7 +33,6 @@ CONFIGURE_ARGS= --enable-shared \
CONFIGURE_ENV= PORTSDIR=${PORTSDIR} TK_LIB_FILE=libtk${SHORT_TK_VER}.so.1 \
ac_cv_path_tclsh="${LOCALBASE}/bin/tclsh${TK_VER}"
-LATEST_LINK= ${PORTNAME}${SHORT_TK_VER}
MAN_SUFFIX= ${LATEST_LINK}
INSTALL_TARGET= install
@@ -44,8 +44,6 @@ MANCOMPRESSED= no
DATADIR= ${PREFIX}/share/${PORTNAME}${TK_VER}
SUB_FILES= pkgIndex.tcl
-USE_TCL= ${SHORT_TK_VER}
-
OPTIONS_DEFINE= TK85_MAN DEMOS THREADS
OPTIONS_DEFAULT=THREADS
TK85_MAN_DESC= Install tk 8.5 function manpages