Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 21:23:57 +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: r487630 - in head/net/nanomsg: . files
Message-ID:  <201812162123.wBGLNv0G038212@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Dec 16 21:23:57 2018
New Revision: 487630
URL: https://svnweb.freebsd.org/changeset/ports/487630

Log:
  net/nanomsg: Unbreak by fixing plist
  
  Other changes:
  * Replace docs in plist with PORTDOCS=*
  * Replace WWW with its https equivalent
  * Fix the manpage location
  
  This port installs both docs and manpages based on one cmake option.
  
  Approved by:	portmgr (unbreak)

Added:
  head/net/nanomsg/files/
  head/net/nanomsg/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/net/nanomsg/Makefile
  head/net/nanomsg/pkg-descr
  head/net/nanomsg/pkg-plist

Modified: head/net/nanomsg/Makefile
==============================================================================
--- head/net/nanomsg/Makefile	Sun Dec 16 21:01:12 2018	(r487629)
+++ head/net/nanomsg/Makefile	Sun Dec 16 21:23:57 2018	(r487630)
@@ -2,6 +2,7 @@
 
 PORTNAME=			nanomsg
 PORTVERSION=			1.1.5
+PORTREVISION=			1
 CATEGORIES=			net
 
 MAINTAINER=			crest@bultmann.eu
@@ -22,5 +23,7 @@ DOCS_DESC=			Build and/or install HTML and manpages
 
 DOCS_BUILD_DEPENDS=		asciidoctor:textproc/rubygem-asciidoctor
 DOCS_CMAKE_BOOL=		NN_ENABLE_DOC
+
+PORTDOCS=			*
 
 .include <bsd.port.mk>

Added: head/net/nanomsg/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nanomsg/files/patch-CMakeLists.txt	Sun Dec 16 21:23:57 2018	(r487630)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2018-12-16 21:09:15 UTC
++++ CMakeLists.txt
+@@ -330,7 +330,7 @@ if (NN_ENABLE_DOC)
+         )
+         install (
+             FILES ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.${SECT}
+-            DESTINATION ${CMAKE_INSTALL_MANDIR}/man${SECT}
++            DESTINATION man/man${SECT}
+         )
+ 
+     endmacro (add_libnanomsg_man)

Modified: head/net/nanomsg/pkg-descr
==============================================================================
--- head/net/nanomsg/pkg-descr	Sun Dec 16 21:01:12 2018	(r487629)
+++ head/net/nanomsg/pkg-descr	Sun Dec 16 21:23:57 2018	(r487630)
@@ -17,4 +17,4 @@ protocols are currently available:
     them among many destinations
   * SURVEY -- allows to query state of multiple applications in single go
 
-WWW: http://nanomsg.org/
+WWW: https://nanomsg.org/

Modified: head/net/nanomsg/pkg-plist
==============================================================================
--- head/net/nanomsg/pkg-plist	Sun Dec 16 21:01:12 2018	(r487629)
+++ head/net/nanomsg/pkg-plist	Sun Dec 16 21:23:57 2018	(r487630)
@@ -10,79 +10,47 @@ include/nanomsg/reqrep.h
 include/nanomsg/survey.h
 include/nanomsg/tcp.h
 include/nanomsg/ws.h
+lib/cmake/nanomsg-1.1.5/nanomsg-config-version.cmake
+lib/cmake/nanomsg-1.1.5/nanomsg-config.cmake
+lib/cmake/nanomsg-1.1.5/nanomsg-target-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/nanomsg-1.1.5/nanomsg-target.cmake
 lib/libnanomsg.so
 lib/libnanomsg.so.5
 lib/libnanomsg.so.5.1.0
 libdata/pkgconfig/nanomsg.pc
-%%PORTDOCS%%man/man1/nanocat.1.gz
-%%PORTDOCS%%man/man3/nn_allocmsg.3.gz
-%%PORTDOCS%%man/man3/nn_bind.3.gz
-%%PORTDOCS%%man/man3/nn_close.3.gz
-%%PORTDOCS%%man/man3/nn_cmsg.3.gz
-%%PORTDOCS%%man/man3/nn_connect.3.gz
-%%PORTDOCS%%man/man3/nn_device.3.gz
-%%PORTDOCS%%man/man3/nn_errno.3.gz
-%%PORTDOCS%%man/man3/nn_freemsg.3.gz
-%%PORTDOCS%%man/man3/nn_get_statistic.3.gz
-%%PORTDOCS%%man/man3/nn_getsockopt.3.gz
-%%PORTDOCS%%man/man3/nn_poll.3.gz
-%%PORTDOCS%%man/man3/nn_reallocmsg.3.gz
-%%PORTDOCS%%man/man3/nn_recv.3.gz
-%%PORTDOCS%%man/man3/nn_recvmsg.3.gz
-%%PORTDOCS%%man/man3/nn_send.3.gz
-%%PORTDOCS%%man/man3/nn_sendmsg.3.gz
-%%PORTDOCS%%man/man3/nn_setsockopt.3.gz
-%%PORTDOCS%%man/man3/nn_shutdown.3.gz
-%%PORTDOCS%%man/man3/nn_socket.3.gz
-%%PORTDOCS%%man/man3/nn_strerror.3.gz
-%%PORTDOCS%%man/man3/nn_symbol.3.gz
-%%PORTDOCS%%man/man3/nn_symbol_info.3.gz
-%%PORTDOCS%%man/man3/nn_term.3.gz
-%%PORTDOCS%%man/man7/nanomsg.7.gz
-%%PORTDOCS%%man/man7/nn_bus.7.gz
-%%PORTDOCS%%man/man7/nn_env.7.gz
-%%PORTDOCS%%man/man7/nn_inproc.7.gz
-%%PORTDOCS%%man/man7/nn_ipc.7.gz
-%%PORTDOCS%%man/man7/nn_pair.7.gz
-%%PORTDOCS%%man/man7/nn_pipeline.7.gz
-%%PORTDOCS%%man/man7/nn_pubsub.7.gz
-%%PORTDOCS%%man/man7/nn_reqrep.7.gz
-%%PORTDOCS%%man/man7/nn_survey.7.gz
-%%PORTDOCS%%man/man7/nn_tcp.7.gz
-%%PORTDOCS%%man/man7/nn_ws.7.gz
-%%PORTDOCS%%%%DOCSDIR%%/nanocat.html
-%%PORTDOCS%%%%DOCSDIR%%/nanomsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_allocmsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_bind.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_bus.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_close.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_cmsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_connect.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_device.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_env.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_errno.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_freemsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_get_statistic.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_getsockopt.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_inproc.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_ipc.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_pair.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_pipeline.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_poll.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_pubsub.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_reallocmsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_recv.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_recvmsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_reqrep.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_send.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_sendmsg.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_setsockopt.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_shutdown.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_socket.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_strerror.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_survey.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_symbol.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_symbol_info.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_tcp.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_term.html
-%%PORTDOCS%%%%DOCSDIR%%/nn_ws.html
+%%DOCS%%man/man1/nanocat.1.gz
+%%DOCS%%man/man3/nn_allocmsg.3.gz
+%%DOCS%%man/man3/nn_bind.3.gz
+%%DOCS%%man/man3/nn_close.3.gz
+%%DOCS%%man/man3/nn_cmsg.3.gz
+%%DOCS%%man/man3/nn_connect.3.gz
+%%DOCS%%man/man3/nn_device.3.gz
+%%DOCS%%man/man3/nn_errno.3.gz
+%%DOCS%%man/man3/nn_freemsg.3.gz
+%%DOCS%%man/man3/nn_get_statistic.3.gz
+%%DOCS%%man/man3/nn_getsockopt.3.gz
+%%DOCS%%man/man3/nn_poll.3.gz
+%%DOCS%%man/man3/nn_reallocmsg.3.gz
+%%DOCS%%man/man3/nn_recv.3.gz
+%%DOCS%%man/man3/nn_recvmsg.3.gz
+%%DOCS%%man/man3/nn_send.3.gz
+%%DOCS%%man/man3/nn_sendmsg.3.gz
+%%DOCS%%man/man3/nn_setsockopt.3.gz
+%%DOCS%%man/man3/nn_shutdown.3.gz
+%%DOCS%%man/man3/nn_socket.3.gz
+%%DOCS%%man/man3/nn_strerror.3.gz
+%%DOCS%%man/man3/nn_symbol.3.gz
+%%DOCS%%man/man3/nn_symbol_info.3.gz
+%%DOCS%%man/man3/nn_term.3.gz
+%%DOCS%%man/man7/nanomsg.7.gz
+%%DOCS%%man/man7/nn_bus.7.gz
+%%DOCS%%man/man7/nn_env.7.gz
+%%DOCS%%man/man7/nn_inproc.7.gz
+%%DOCS%%man/man7/nn_ipc.7.gz
+%%DOCS%%man/man7/nn_pair.7.gz
+%%DOCS%%man/man7/nn_pipeline.7.gz
+%%DOCS%%man/man7/nn_pubsub.7.gz
+%%DOCS%%man/man7/nn_reqrep.7.gz
+%%DOCS%%man/man7/nn_survey.7.gz
+%%DOCS%%man/man7/nn_tcp.7.gz
+%%DOCS%%man/man7/nn_ws.7.gz



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