From cb86d2e4dc5ba2567b3e295779d6e27cac85f595 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Sat, 14 Feb 2009 21:19:42 +0000 Subject: - Update to 0.9 - Add support for tcl84, tcl85 and tcl86 - Take maintainership --- graphics/tkpng/Makefile | 29 ++++++++++++----------------- graphics/tkpng/distinfo | 6 +++--- graphics/tkpng/pkg-plist | 1 - 3 files changed, 15 insertions(+), 21 deletions(-) (limited to 'graphics/tkpng') diff --git a/graphics/tkpng/Makefile b/graphics/tkpng/Makefile index aa6f61e5ddde..a0ac58840b94 100644 --- a/graphics/tkpng/Makefile +++ b/graphics/tkpng/Makefile @@ -6,32 +6,27 @@ # PORTNAME= tkpng -PORTVERSION= 0.7 -PORTREVISION= 1 +PORTVERSION= 0.9 CATEGORIES= graphics tk MASTER_SITES= SF -DISTNAME= ${PORTNAME}${PORTVERSION}-src +DISTNAME= ${PORTNAME}${PORTVERSION} EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mm@FreeBSD.org COMMENT= PNG support for Tcl/Tk -USE_TK= yes +USE_TK= 84+ GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \ - --with-tk=${LOCALBASE}/lib/tk${TK_VER} \ - --with-tclinclude=${LOCALBASE}/include/tcl${TK_VER}/generic \ - --with-tkinclude=${LOCALBASE}/include/tk${TK_VER}/generic \ + +.include +CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR}/generic \ + --with-tkinclude=${TK_INCLUDEDIR}/generic \ --exec-prefix=${PREFIX} --enable-shared -CPPFLAGS= -I${LOCALBASE}/include/tk${TK_VER}/generic -I${LOCALBASE}/include +CPPFLAGS= -I${TK_INCLUDEDIR}/generic -I${LOCALBASE}/include CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" TKPKG= ${PORTNAME}${PORTVERSION} PLIST_SUB= VER=${PORTVERSION} TKPKG=${TKPKG} TKLIBVER=${TKLIBVER} -USE_LDCONFIG= ${PREFIX}/lib/${TKPKG} -WRKSRC= ${WRKDIR}/${TKPKG} - -post-install: - @${LN} -sf ${PREFIX}/lib/${TKPKG}/lib${TKPKG}.so \ - ${PREFIX}/lib/${TKPKG}/lib${TKPKG}.so.0 -.include +.include diff --git a/graphics/tkpng/distinfo b/graphics/tkpng/distinfo index 2221a17ecc52..1f0eb5715314 100644 --- a/graphics/tkpng/distinfo +++ b/graphics/tkpng/distinfo @@ -1,3 +1,3 @@ -MD5 (tkpng0.7-src.tgz) = 81965db9ad4bfe7aa11554dc551dd088 -SHA256 (tkpng0.7-src.tgz) = b4778961268de5e33cf73830d92f6b7f4d1b65bf05f630af5790bcfef1eca36d -SIZE (tkpng0.7-src.tgz) = 115821 +MD5 (tkpng0.9.tgz) = 43347d3d805a5bf3ff428ed812834230 +SHA256 (tkpng0.9.tgz) = 92f361d4f43c3a0638f85f87af6cef30c63a1896fa59a9220bcfab4852ab10fb +SIZE (tkpng0.9.tgz) = 127804 diff --git a/graphics/tkpng/pkg-plist b/graphics/tkpng/pkg-plist index 7d2e230352e2..bac026bb8c96 100644 --- a/graphics/tkpng/pkg-plist +++ b/graphics/tkpng/pkg-plist @@ -1,4 +1,3 @@ lib/%%TKPKG%%/lib%%TKPKG%%.so -lib/%%TKPKG%%/lib%%TKPKG%%.so.0 lib/%%TKPKG%%/pkgIndex.tcl @dirrm lib/%%TKPKG%% -- cgit v1.2.3