From owner-svn-ports-all@FreeBSD.ORG Wed Oct 30 17:15:14 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9955041D; Wed, 30 Oct 2013 17:15:14 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 85BF12363; Wed, 30 Oct 2013 17:15:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9UHFEC9068312; Wed, 30 Oct 2013 17:15:14 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9UHFDY9068308; Wed, 30 Oct 2013 17:15:13 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201310301715.r9UHFDY9068308@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 30 Oct 2013 17:15:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332155 - in head/x11-toolkits/blt: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 17:15:14 -0000 Author: gahr Date: Wed Oct 30 17:15:13 2013 New Revision: 332155 URL: http://svnweb.freebsd.org/changeset/ports/332155 Log: - Convert to USES+=tk - Convert to new LIB_DEPENDS format - STAGE-clean Added: head/x11-toolkits/blt/files/patch-Makefile.in (contents, props changed) head/x11-toolkits/blt/files/patch-library_Makefile.in (contents, props changed) Modified: head/x11-toolkits/blt/Makefile head/x11-toolkits/blt/pkg-plist (contents, props changed) Modified: head/x11-toolkits/blt/Makefile ============================================================================== --- head/x11-toolkits/blt/Makefile Wed Oct 30 17:04:02 2013 (r332154) +++ head/x11-toolkits/blt/Makefile Wed Oct 30 17:15:13 2013 (r332155) @@ -7,19 +7,18 @@ PORTREVISION= 7 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/${PORTNAME}/BLT/BLT%20${PORTVERSION} \ ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/ - DISTNAME= BLT${PORTVERSION} PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/${PORTNAME}\/BLT\/BLT%20${PORTVERSION}/} \ ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/ PATCH_SITE_SUBDIR= ${PORTNAME} PATCHFILES= blt2.4z-patch-2 -PATCH_DIST_STRIP= -p1 +PATCH_DIST_STRIP=-p1 MAINTAINER= ports@FreeBSD.org -COMMENT= A Tk extension (with shared libs) +COMMENT= Extension for the Tk toolkit (with shared libs) -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg USE_LDCONFIG= yes USE_AUTOTOOLS= libtool @@ -29,14 +28,16 @@ GNU_CONFIGURE= yes CFLAGS+= -Wall -Wno-uninitialized CFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix -USE_TK= 84+ -INVALID_TK_VER= 86 +USES+= tk:84,85 USE_XORG= x11 -NO_STAGE= yes +post-patch: + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e '/^INSTALL_ROOT/s|$$|$${DESTDIR}|' + post-install: - ${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so - ${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so + ${LN} -sf libBLT24.so.3 ${STAGEDIR}${PREFIX}/lib/libBLT24.so + ${LN} -sf libBLTlite24.so.3 ${STAGEDIR}${PREFIX}/lib/libBLTlite24.so CONFIGURE_ARGS+=--exec_prefix=${PREFIX} \ --enable-jpeg=${LOCALBASE} \ Added: head/x11-toolkits/blt/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/blt/files/patch-Makefile.in Wed Oct 30 17:15:13 2013 (r332155) @@ -0,0 +1,12 @@ +--- Makefile.in.orig 2013-10-30 13:46:13.000000000 +0100 ++++ Makefile.in 2013-10-30 13:46:28.000000000 +0100 +@@ -47,9 +47,6 @@ + (cd library; $(MAKE) install) + (cd man; $(MAKE) install) + (cd demos; $(MAKE) install) +- $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir) +- $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ Added: head/x11-toolkits/blt/files/patch-library_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/blt/files/patch-library_Makefile.in Wed Oct 30 17:15:13 2013 (r332155) @@ -0,0 +1,11 @@ +--- library/Makefile.in.orig 2013-10-30 13:44:51.000000000 +0100 ++++ library/Makefile.in 2013-10-30 13:45:04.000000000 +0100 +@@ -60,7 +60,7 @@ + for i in $(miscFiles) ; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ + done +- $(INSTALL_DATA) pkgIndex.tcl $(scriptdir) ++ $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(scriptdir) + + mkdirs: + @for i in $(instdirs) ; do \ Modified: head/x11-toolkits/blt/pkg-plist ============================================================================== --- head/x11-toolkits/blt/pkg-plist Wed Oct 30 17:04:02 2013 (r332154) +++ head/x11-toolkits/blt/pkg-plist Wed Oct 30 17:15:13 2013 (r332155) @@ -10,9 +10,6 @@ include/bltList.h include/bltPool.h include/bltTree.h include/bltVector.h -lib/blt2.4/NEWS -lib/blt2.4/PROBLEMS -lib/blt2.4/README lib/blt2.4/bltCanvEps.pro lib/blt2.4/bltGraph.pro lib/blt2.4/dd_protocols/dd-color.tcl