svn commit: r330747 - head/graphics/tkpng

Pietro Cerutti gahr at FreeBSD.org
Fri Oct 18 14:03:12 UTC 2013


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>


More information about the svn-ports-head mailing list