diff options
author | gahr <gahr@FreeBSD.org> | 2013-10-14 21:56:25 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-10-14 21:56:25 +0800 |
commit | f1b14c9dfac84f6a87e99be47612ad9e264977df (patch) | |
tree | 9cad6069ec91c49e681f239fba5bc12f5543acd8 /x11-toolkits | |
parent | 6a4842992ac74359956d32202dfbd9189fcbe002 (diff) | |
download | freebsd-ports-gnome-f1b14c9dfac84f6a87e99be47612ad9e264977df.tar.gz freebsd-ports-gnome-f1b14c9dfac84f6a87e99be47612ad9e264977df.tar.zst freebsd-ports-gnome-f1b14c9dfac84f6a87e99be47612ad9e264977df.zip |
- Update to 2.6
- Convert to USES+=tk
- Take maintainership (tcltk@FreeBSD.org)
- STAGE-clean
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/tkdnd/Makefile | 41 | ||||
-rw-r--r-- | x11-toolkits/tkdnd/distinfo | 4 | ||||
-rw-r--r-- | x11-toolkits/tkdnd/pkg-plist | 8 |
3 files changed, 23 insertions, 30 deletions
diff --git a/x11-toolkits/tkdnd/Makefile b/x11-toolkits/tkdnd/Makefile index 504772a794e4..d6d16e8ed83f 100644 --- a/x11-toolkits/tkdnd/Makefile +++ b/x11-toolkits/tkdnd/Makefile @@ -2,40 +2,29 @@ # $FreeBSD$ PORTNAME= tkdnd -PORTVERSION= 1.0 -DISTVERSION= 1.0.20040304 -PORTREVISION= 3 +PORTVERSION= 2.6 CATEGORIES= x11-toolkits tk -MASTER_SITES= CENKES -# Distfile prepared from SourceForge CVS +MASTER_SITES= SF/${PORTNAME}/TkDND/TkDND%20${PORTVERSION}/ +DISTNAME= ${PORTNAME}${PORTVERSION}-src -MAINTAINER= ports@FreeBSD.org -COMMENT= Native drag and drop capabilities +MAINTAINER= tcltk@FreeBSD.org +COMMENT= Native drag and drop capabilities for Tk -USE_BZIP2= yes -USE_TK= yes +USES+= tk:85+ USE_XORG= x11 xext 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_ARGS= --exec-prefix=${PREFIX} \ + --with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR} \ + --with-tkinclude=${TK_INCLUDEDIR} + TKPKG= ${PORTNAME}${PORTVERSION} PLIST_SUB= TKPKG=${TKPKG} USE_LDCONFIG= ${PREFIX}/lib/${TKPKG} -MANN= ${PORTNAME}.n - -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -Ee '/^install:/s#install-doc##' -e 's#.*txt.*##' ${WRKSRC}/Makefile.in +WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} 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.pre.mk> - -.if ${OSVERSION} >= 900000 -BROKEN= does not build -.endif + @${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${STAGEDIR}/${PREFIX}/man/mann/${MANN} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-toolkits/tkdnd/distinfo b/x11-toolkits/tkdnd/distinfo index f586ecdb9000..8ba92422d149 100644 --- a/x11-toolkits/tkdnd/distinfo +++ b/x11-toolkits/tkdnd/distinfo @@ -1,2 +1,2 @@ -SHA256 (tkdnd-1.0.20040304.tar.bz2) = 3f4c6ffe89565456e2808000c441e669c7a3c315a5133382e0309140fe61dce8 -SIZE (tkdnd-1.0.20040304.tar.bz2) = 352734 +SHA256 (tkdnd2.6-src.tar.gz) = e3f499c62d1db2e9a4468791544c784eac727175e094aa06bfe7441dfb3f08e7 +SIZE (tkdnd2.6-src.tar.gz) = 180278 diff --git a/x11-toolkits/tkdnd/pkg-plist b/x11-toolkits/tkdnd/pkg-plist index 196d94154fac..7b32f3a34991 100644 --- a/x11-toolkits/tkdnd/pkg-plist +++ b/x11-toolkits/tkdnd/pkg-plist @@ -1,5 +1,9 @@ -lib/%%TKPKG%%/lib%%TKPKG%%.so -lib/%%TKPKG%%/lib%%TKPKG%%.so.0 +lib/%%TKPKG%%/libtkdnd.so.1 lib/%%TKPKG%%/pkgIndex.tcl lib/%%TKPKG%%/tkdnd.tcl +lib/%%TKPKG%%/tkdnd_compat.tcl +lib/%%TKPKG%%/tkdnd_macosx.tcl +lib/%%TKPKG%%/tkdnd_unix.tcl +lib/%%TKPKG%%/tkdnd_windows.tcl +man/mann/tkDND.n.gz @dirrm lib/%%TKPKG%% |