Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 20:16:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535498 - head/graphics/togl
Message-ID:  <202005162016.04GKG2xS071423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat May 16 20:16:02 2020
New Revision: 535498
URL: https://svnweb.freebsd.org/changeset/ports/535498

Log:
  graphics/togl: Update 1.7 -> 2.0

Modified:
  head/graphics/togl/Makefile
  head/graphics/togl/distinfo
  head/graphics/togl/pkg-plist

Modified: head/graphics/togl/Makefile
==============================================================================
--- head/graphics/togl/Makefile	Sat May 16 19:47:32 2020	(r535497)
+++ head/graphics/togl/Makefile	Sat May 16 20:16:02 2020	(r535498)
@@ -2,11 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	togl
-PORTVERSION=	1.7
-PORTREVISION=	7
+DISTVERSION=	2.0
+DISTVERSIONSUFFIX=	-src
 CATEGORIES=	graphics tk
 MASTER_SITES=	SF/${PORTNAME}/Togl/${PORTVERSION}
-DISTNAME=	Togl-${PORTVERSION}
+DISTNAME=	Togl${DISTVERSIONFULL}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tk OpenGL widget
@@ -17,30 +17,27 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		gl gmake tk:tea xorg
 USE_XORG=	x11 xt xmu
 USE_GL=		gl
-USE_LDCONFIG=	yes
+USE_LDCONFIG=	${PREFIX}/lib/Togl2.0
 
+WRKSRC=		${WRKDIR}/Togl2.0
+
 TOGL_INSTDIR=	${PREFIX}/lib/${DISTNAME}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+WITH_DEBUG=	yes
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|wish |${WISH:T} |' ${WRKSRC}/*.tcl
 	@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \
 		${WRKSRC}/configure
 
-do-install:
-	@${MKDIR} ${STAGEDIR}${TOGL_INSTDIR}
-.for i in togl.h togl_ws.h pkgIndex.tcl
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${TOGL_INSTDIR}
-.endfor
-	${INSTALL_LIB} ${WRKSRC}/libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}
-	${LN} -s libTogl1.7.so  ${STAGEDIR}${TOGL_INSTDIR}/libtogl.so.1
-	${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${STAGEDIR}${PREFIX}/lib/libtogl.so
-	${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so  ${STAGEDIR}${PREFIX}/lib/libtogl.so.1
-
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Togl.html ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
 do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Modified: head/graphics/togl/distinfo
==============================================================================
--- head/graphics/togl/distinfo	Sat May 16 19:47:32 2020	(r535497)
+++ head/graphics/togl/distinfo	Sat May 16 20:16:02 2020	(r535498)
@@ -1,2 +1,3 @@
-SHA256 (Togl-1.7.tar.gz) = 56b7580e3001cc4d334ff31bf6b9d730d05abb2faba7a3dbbc1c959ff7f7bcaf
-SIZE (Togl-1.7.tar.gz) = 205532
+TIMESTAMP = 1581788840
+SHA256 (Togl2.0-src.tar.gz) = b7d4a90bbad3aca618d505ee99e7fd8fb04c829f63231dda2360f557ba3f7610
+SIZE (Togl2.0-src.tar.gz) = 244968

Modified: head/graphics/togl/pkg-plist
==============================================================================
--- head/graphics/togl/pkg-plist	Sat May 16 19:47:32 2020	(r535497)
+++ head/graphics/togl/pkg-plist	Sat May 16 20:16:02 2020	(r535498)
@@ -1,27 +1,7 @@
-lib/libtogl.so
-lib/libtogl.so.1
-lib/Togl-1.7/togl.h
-lib/Togl-1.7/togl_ws.h
-lib/Togl-1.7/libTogl1.7.so
-lib/Togl-1.7/pkgIndex.tcl
-lib/Togl-1.7/libtogl.so.1
-%%PORTDOCS%%%%DOCSDIR%%/Togl.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ben.rgb
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/double.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/double.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gears.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gears.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image.h
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/overlay.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/overlay.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stereo.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stereo.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/texture.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/texture.tcl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/togl.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/togl.h
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tree2.rgba
+include/togl.h
+include/toglDecls.h
+include/togl_ws.h
+lib/Togl2.0/LICENSE
+lib/Togl2.0/libTogl2.0.so
+lib/Togl2.0/pkgIndex.tcl
+lib/libToglstub2.0.a



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