Add port x11-toolkits/tkdnd:

tkdnd is an extension that adds native drag & drop capabilities to the
tk toolkit. It can be used with any tk version equal or greater to 8.4
and currently only the UNIX (X-Windows) and Microsoft Windows operating
systems are supported. Under unix the drag & drop protocol in use is the
XDND protocol version 4 (also used by the QT toolkit, KDE & GNOME
Desktops).

WWW: http://www.iit.demokritos.gr/~petasis/Tcl/tkDND/tkDND.html
This commit is contained in:
Andrew Pantyukhin 2006-11-01 06:39:12 +00:00
parent 297e975bfc
commit b2e99e2884
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175997
5 changed files with 56 additions and 0 deletions

View file

@ -220,6 +220,7 @@
SUBDIR += tk82
SUBDIR += tk83
SUBDIR += tk84
SUBDIR += tkdnd
SUBDIR += tkshape
SUBDIR += tkstep80
SUBDIR += tktable

View file

@ -0,0 +1,39 @@
# New ports collection makefile for: tkdnd
# Date created: 14 October 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tkdnd
PORTVERSION= 1.0
DISTVERSION= 1.0.20040304
CATEGORIES= x11-toolkits tk84
MASTER_SITES= CSME
# Distfile prepared from SourceForge CVS
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Native drag and drop capabilities
LIB_DEPENDS= tk${USE_TK}.1:${PORTSDIR}/x11-toolkits/tk${USE_TK}
USE_BZIP2= yes
USE_TK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tk=${TK_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR} --with-tkinclude=${TK_INCLUDEDIR} --enable-shared
CPPFLAGS= -I${TK_INCLUDEDIR}/generic -I${TCL_INCLUDEDIR}/generic
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
TKPKG= ${PORTNAME}${PORTVERSION}
PLIST_SUB= TKPKG=${TKPKG}
USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
MANN= ${PORTNAME}.n
post-patch:
@${REINPLACE_CMD} -Ee '/^install:/s#install-doc##' -e 's#.*txt.*##' ${WRKSRC}/Makefile.in
post-install:
@${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0
@${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${MANNPREFIX}/man/mann/${MANN}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (tkdnd-1.0.20040304.tar.bz2) = e8791dd774c0d03d430529d77584eba9
SHA256 (tkdnd-1.0.20040304.tar.bz2) = 3f4c6ffe89565456e2808000c441e669c7a3c315a5133382e0309140fe61dce8
SIZE (tkdnd-1.0.20040304.tar.bz2) = 352734

View file

@ -0,0 +1,8 @@
tkdnd is an extension that adds native drag & drop capabilities to the
tk toolkit. It can be used with any tk version equal or greater to 8.4
and currently only the UNIX (X-Windows) and Microsoft Windows operating
systems are supported. Under unix the drag & drop protocol in use is the
XDND protocol version 4 (also used by the QT toolkit, KDE & GNOME
Desktops).
WWW: http://www.iit.demokritos.gr/~petasis/Tcl/tkDND/tkDND.html

View file

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