aboutsummaryrefslogtreecommitdiff
path: root/graphics/tkpng
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-02-14 21:19:42 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-02-14 21:19:42 +0000
commitcb86d2e4dc5ba2567b3e295779d6e27cac85f595 (patch)
treed69aadeba08ab857d5116b40cc2a8705eb6d7863 /graphics/tkpng
parent38e1f1309ac8d4eb76a1e98e8d2e5aa5e573755b (diff)
downloadports-cb86d2e4dc5ba2567b3e295779d6e27cac85f595.tar.gz
ports-cb86d2e4dc5ba2567b3e295779d6e27cac85f595.zip
- Update to 0.9
- Add support for tcl84, tcl85 and tcl86 - Take maintainership
Notes
Notes: svn path=/head/; revision=228316
Diffstat (limited to 'graphics/tkpng')
-rw-r--r--graphics/tkpng/Makefile29
-rw-r--r--graphics/tkpng/distinfo6
-rw-r--r--graphics/tkpng/pkg-plist1
3 files changed, 15 insertions, 21 deletions
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 <bsd.port.pre.mk>
+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 <bsd.port.mk>
+.include <bsd.port.post.mk>
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%%