Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 10:54:15 +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: r334473 - head/x11-toolkits/bwidget
Message-ID:  <201311211054.rALAsFcL050079@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Nov 21 10:54:15 2013
New Revision: 334473
URL: http://svnweb.freebsd.org/changeset/ports/334473

Log:
  - Update to 1.9.7
  - Take maintainership (tcltk@)
  - Convert to USES=tk
  - Convert to OPTIONSng (DOCS)
  - STAGE-clean

Modified:
  head/x11-toolkits/bwidget/Makefile   (contents, props changed)
  head/x11-toolkits/bwidget/distinfo   (contents, props changed)

Modified: head/x11-toolkits/bwidget/Makefile
==============================================================================
--- head/x11-toolkits/bwidget/Makefile	Thu Nov 21 10:39:35 2013	(r334472)
+++ head/x11-toolkits/bwidget/Makefile	Thu Nov 21 10:54:15 2013	(r334473)
@@ -2,37 +2,37 @@
 # $FreeBSD$
 
 PORTNAME=	bwidget
-PORTVERSION=	1.9.2
+PORTVERSION=	1.9.7
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	SF/tcllib/BWidget/${PORTVERSION}
-DISTNAME=	BWidget-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A high-level widget set for Tcl/Tk
+MAINTAINER=	tcltk@FreeBSD.org
+COMMENT=	High-level widget set for Tcl/Tk
 
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USE_TK_RUN=	84+
+OPTIONS_DEFINE=	DOCS
 
+USES=		tk:run
+USE_ZIP=	yes
 NO_BUILD=	yes
-
-.if !defined(NOPORTDOCS)
 PORTDOCS=	*
-.endif
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-install:
-	@$(MKDIR) ${PREFIX}/lib/bwidget
-	${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/lib/bwidget
-	${TAR} -C ${WRKSRC} -cf - images lang | \
-		${TAR} -v -C ${PREFIX}/lib/bwidget --unlink -xf -
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/bwidget
-.if !defined(NOPORTDOCS)
-	@$(MKDIR) ${DOCSDIR}/BWman
-	${INSTALL_DATA} ${WRKSRC}/BWman/*.html ${DOCSDIR}/BWman
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/images
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget/lang
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bwidget
+	${INSTALL_DATA} ${WRKSRC}/*.tcl ${STAGEDIR}${PREFIX}/lib/bwidget
+	cd ${WRKSRC}/images && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/images
+	cd ${WRKSRC}/lang && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/lib/bwidget/lang
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/BWman
+	${INSTALL_DATA} ${WRKSRC}/BWman/*.html ${STAGEDIR}${DOCSDIR}/BWman
 . for FILE in CHANGES.txt ChangeLog README.txt
-	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
+	${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}
 . endfor
 .endif
 

Modified: head/x11-toolkits/bwidget/distinfo
==============================================================================
--- head/x11-toolkits/bwidget/distinfo	Thu Nov 21 10:39:35 2013	(r334472)
+++ head/x11-toolkits/bwidget/distinfo	Thu Nov 21 10:54:15 2013	(r334473)
@@ -1,2 +1,2 @@
-SHA256 (BWidget-1.9.2.tar.gz) = baabc25abbb0282df60805fb56d536e0ac9d5c2f517ce41448a2c31ff16d8144
-SIZE (BWidget-1.9.2.tar.gz) = 227964
+SHA256 (bwidget-1.9.7.zip) = 10d4ad203e6c883f341d8ca24e4cd1cf07dc41d63b13c3d8ea3cefae87007620
+SIZE (bwidget-1.9.7.zip) = 339322



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