Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 14:03:12 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330747 - head/graphics/tkpng
Message-ID:  <201310181403.r9IE3CIN086254@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Oct 18 14:03:11 2013
New Revision: 330747
URL: http://svnweb.freebsd.org/changeset/ports/330747

Log:
  - Convert to USES+=tk
  - STAGE-clean
  - Bring PLIST into Makefile

Deleted:
  head/graphics/tkpng/pkg-plist
Modified:
  head/graphics/tkpng/Makefile   (contents, props changed)

Modified: head/graphics/tkpng/Makefile
==============================================================================
--- head/graphics/tkpng/Makefile	Fri Oct 18 14:00:34 2013	(r330746)
+++ head/graphics/tkpng/Makefile	Fri Oct 18 14:03:11 2013	(r330747)
@@ -15,18 +15,21 @@ COMMENT=	PNG support for Tcl/Tk
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/license.terms
 
-USE_TK=		84+
+USES+=		tk
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
-.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${TK_INCLUDEDIR}/generic -I${LOCALBASE}/include
+		--with-tclinclude=${TCL_INCLUDEDIR} \
+		--with-tkinclude=${TK_INCLUDEDIR} \
+		--exec-prefix=${PREFIX} \
+		--enable-shared
+
 TKPKG=		${PORTNAME}${PORTVERSION}
 PLIST_SUB=	VER=${PORTVERSION} TKPKG=${TKPKG} TKLIBVER=${TKLIBVER}
 
-.include <bsd.port.post.mk>
+PLIST_FILES=	lib/${TKPKG}/lib${TKPKG}.so \
+		lib/${TKPKG}/pkgIndex.tcl
+PLIST_DIRS=	lib/${TKPKG}
+
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181403.r9IE3CIN086254>