Date: Wed, 30 Oct 2013 17:15:13 +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: r332155 - in head/x11-toolkits/blt: . files Message-ID: <201310301715.r9UHFDY9068308@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301715.r9UHFDY9068308>