Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2021 09:36:24 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561904 - in head/print/gl2ps: . files
Message-ID:  <202101180936.10I9aO1K075118@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Mon Jan 18 09:36:23 2021
New Revision: 561904
URL: https://svnweb.freebsd.org/changeset/ports/561904

Log:
  print/gl2ps:
  - Update to 1.4.2
  - Regenerate patch and use plist substitution to reduce diff on future updates

Modified:
  head/print/gl2ps/Makefile
  head/print/gl2ps/distinfo
  head/print/gl2ps/files/patch-CMakeLists.txt
  head/print/gl2ps/pkg-plist

Modified: head/print/gl2ps/Makefile
==============================================================================
--- head/print/gl2ps/Makefile	Mon Jan 18 09:36:00 2021	(r561903)
+++ head/print/gl2ps/Makefile	Mon Jan 18 09:36:23 2021	(r561904)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gl2ps
-PORTVERSION=	1.4.0
+PORTVERSION=	1.4.2
 CATEGORIES=	print graphics
 MASTER_SITES=	http://www.geuz.org/gl2ps/src/
 
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libpng.so:graphics/png
 USES=		cmake gl tar:tgz
 USE_GL=		gl
 USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
+PLIST_SUB=	SHLIB_VER=${PORTVERSION}
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/print/gl2ps/distinfo
==============================================================================
--- head/print/gl2ps/distinfo	Mon Jan 18 09:36:00 2021	(r561903)
+++ head/print/gl2ps/distinfo	Mon Jan 18 09:36:23 2021	(r561904)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1508834464
-SHA256 (gl2ps-1.4.0.tgz) = 03cb5e6dfcd87183f3b9ba3b22f04cd155096af81e52988cc37d8d8efe6cf1e2
-SIZE (gl2ps-1.4.0.tgz) = 300339
+TIMESTAMP = 1609947264
+SHA256 (gl2ps-1.4.2.tgz) = 8d1c00c1018f96b4b97655482e57dcb0ce42ae2f1d349cd6d4191e7848d9ffe9
+SIZE (gl2ps-1.4.2.tgz) = 301134

Modified: head/print/gl2ps/files/patch-CMakeLists.txt
==============================================================================
--- head/print/gl2ps/files/patch-CMakeLists.txt	Mon Jan 18 09:36:00 2021	(r561903)
+++ head/print/gl2ps/files/patch-CMakeLists.txt	Mon Jan 18 09:36:23 2021	(r561904)
@@ -1,18 +1,18 @@
---- CMakeLists.txt.orig	2017-04-03 23:09:28 UTC
+--- CMakeLists.txt.orig	2020-04-07 18:12:36 UTC
 +++ CMakeLists.txt
-@@ -79,10 +79,9 @@ endif(NOT HAVE_VSNPRINTF)
+@@ -94,10 +94,9 @@ endif()
  find_package(OpenGL)
  if(OPENGL_FOUND)
    list(APPEND EXTERNAL_INCLUDES ${OPENGL_INCLUDE_DIR})
 -  list(APPEND EXTERNAL_LIBRARIES ${OPENGL_LIBRARIES})
 +  list(APPEND EXTERNAL_LIBRARIES ${OPENGL_gl_LIBRARY})
- endif(OPENGL_FOUND)
+ endif()
  
 -find_package(GLUT)
  if(GLUT_FOUND)
    list(APPEND EXTERNAL_INCLUDES ${GLUT_INCLUDE_DIR})
    list(APPEND EXTERNAL_LIBRARIES ${GLUT_LIBRARIES})
-@@ -138,8 +137,7 @@ endif(WIN32)
+@@ -164,8 +163,7 @@ endif()
  
  install(FILES gl2ps.h DESTINATION include)
  install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${GL2PS_DOC})
@@ -22,11 +22,11 @@
  install(FILES ${CMAKE_SOURCE_DIR}/gl2psTest.c DESTINATION ${GL2PS_DOC})
  install(FILES ${CMAKE_SOURCE_DIR}/gl2psTestSimple.c DESTINATION ${GL2PS_DOC})
  
-@@ -150,7 +148,6 @@ if(GLUT_FOUND)
+@@ -176,7 +174,6 @@ if(GLUT_FOUND)
    target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES})
- endif(GLUT_FOUND)
+ endif()
  
 -find_package(LATEX)
  if(PDFLATEX_COMPILER)
-   add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex 
+   add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex
                       COMMAND ${PDFLATEX_COMPILER} ARGS ${CMAKE_SOURCE_DIR}/gl2ps.tex

Modified: head/print/gl2ps/pkg-plist
==============================================================================
--- head/print/gl2ps/pkg-plist	Mon Jan 18 09:36:00 2021	(r561903)
+++ head/print/gl2ps/pkg-plist	Mon Jan 18 09:36:23 2021	(r561904)
@@ -2,7 +2,7 @@ include/gl2ps.h
 lib/libgl2ps.a
 lib/libgl2ps.so
 lib/libgl2ps.so.1
-lib/libgl2ps.so.1.4.0
+lib/libgl2ps.so.%%SHLIB_VER%%
 %%PORTDOCS%%%%DOCSDIR%%/README.txt
 %%PORTDOCS%%%%DOCSDIR%%/gl2ps.pdf
 %%PORTDOCS%%%%DOCSDIR%%/gl2psTest.c



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