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)
This commit is contained in:
Yuri Victorovich 2018-12-16 21:23:57 +00:00
parent 7bb77ae45b
commit b0136a581c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487630
4 changed files with 55 additions and 73 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= nanomsg
PORTVERSION= 1.1.5
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= crest@bultmann.eu
@ -23,4 +24,6 @@ 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>

View file

@ -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)

View file

@ -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/

View file

@ -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