1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Update to 1.3.9

- Convert to USES+=tk
- Take maintainership (tcltk@FreeBSD.org)
This commit is contained in:
Pietro Cerutti 2013-10-14 08:09:15 +00:00
parent a0a7565d1d
commit 2d3f8ef422
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330283
5 changed files with 25 additions and 35 deletions

View File

@ -2,31 +2,25 @@
# $FreeBSD$
PORTNAME= tktray
PORTVERSION= 1.1
PORTREVISION= 2
PORTVERSION= 1.3.9
CATEGORIES= x11-toolkits tk
MASTER_SITES= http://www.sw4me.com/ CENKES
DISTNAME= ${TKPKG}
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tcltk@FreeBSD.org
COMMENT= System tray icon support
USE_TK= 84
USES+= tk
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} \
--with-tkinclude=${TK_INCLUDEDIR} --enable-shared
CPPFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TCL_INCLUDEDIR}/generic
CONFIGURE_ARGS= -exec-prefix=${PREFIX} \
--with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR}
TKPKG= ${PORTNAME}${PORTVERSION}
PLIST_SUB= TKPKG=${TKPKG}
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
MANN= ${PORTNAME}.n
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -Ee '/^.+TCLLIBPATH/s#$$# \\#' ${WRKSRC}/Makefile.in
post-install:
@${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0
PLIST_FILES= lib/${TKPKG}/libtktray.so.1 \
lib/${TKPKG}/pkgIndex.tcl \
man/mann/${PORTNAME}.n.gz
PLIST_DIRS= lib/${TKPKG}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (tktray1.1.tar.gz) = e4c4a8ad75eacbdf2a6950dd40249dfb82897d59b999afcc05c9587081c8926f
SIZE (tktray1.1.tar.gz) = 109936
SHA256 (tktray1.3.9.tar.gz) = ef48b75ea7979186a05b605f8c153f92bbcc46cb76dee8be1d30bcda179bfcfc
SIZE (tktray1.3.9.tar.gz) = 134484

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig 2013-10-14 09:43:04.000000000 +0200
+++ Makefile.in 2013-10-14 09:43:11.000000000 +0200
@@ -134,7 +134,7 @@
TCLSH_ENV = TCL_LIBRARY=`@CYGPATH@ $(TCL_SRC_DIR)/library`
PKG_ENV = @LD_LIBRARY_PATH_VAR@="$(EXTRA_PATH):$(@LD_LIBRARY_PATH_VAR@)" \
PATH="$(EXTRA_PATH):$(PATH)" \
- TCLLIBPATH="$(TCLLIBPATH)"
+ TCLLIBPATH="$(TCLLIBPATH)" \
TK_LIBRARY=`@CYGPATH@ $(TK_SRC_DIR)/library`
TCLSH_PROG = @TCLSH_PROG@

View File

@ -1,11 +0,0 @@
--- configure.orig 2006-01-06 21:07:11.000000000 +0300
+++ configure 2009-11-05 00:43:53.000000000 +0300
@@ -7677,7 +7677,7 @@
# results, and the version is kept in special file).
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print }' /etc/.relid'`
+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`

View File

@ -1,4 +0,0 @@
lib/%%TKPKG%%/lib%%TKPKG%%.so
lib/%%TKPKG%%/lib%%TKPKG%%.so.0
lib/%%TKPKG%%/pkgIndex.tcl
@dirrm lib/%%TKPKG%%