1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 2.6

- Convert to USES+=tk
- Take maintainership (tcltk@FreeBSD.org)
- STAGE-clean
This commit is contained in:
Pietro Cerutti 2013-10-14 13:56:25 +00:00
parent 3b865581cd
commit 891b7d0f4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330324
3 changed files with 23 additions and 30 deletions

View File

@ -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}
@${INSTALL_MAN} ${WRKSRC}/doc/tkDND.n ${STAGEDIR}/${PREFIX}/man/mann/${MANN}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
BROKEN= does not build
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -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

View File

@ -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%%