Date: Fri, 12 May 2017 09:00:29 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440678 - in head/deskutils/qrfcview: . files Message-ID: <201705120900.v4C90Tk6030973@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri May 12 09:00:29 2017 New Revision: 440678 URL: https://svnweb.freebsd.org/changeset/ports/440678 Log: - Add LICENSE - Install wrapper to set correct work directory - Add .desktop entry - Switch to options helpers - Clean up pkg-descr - Update WWW Added: head/deskutils/qrfcview/files/qRFCView.in (contents, props changed) Modified: head/deskutils/qrfcview/Makefile head/deskutils/qrfcview/pkg-descr Modified: head/deskutils/qrfcview/Makefile ============================================================================== --- head/deskutils/qrfcview/Makefile Fri May 12 08:58:38 2017 (r440677) +++ head/deskutils/qrfcview/Makefile Fri May 12 09:00:29 2017 (r440678) @@ -3,23 +3,44 @@ PORTNAME= qrfcview PORTVERSION= 0.62 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= deskutils MASTER_SITES= BERLIOS MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical RFC viewer +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= qmake tar:tgz USE_QT4= gui network corelib uic_build moc_build rcc_build -PLIST_FILES= bin/qRFCView + +SUB_FILES= qRFCView + +PLIST_FILES= bin/qRFCView \ + libexec/qRFCView \ + bin/qrfcview \ + share/pixmaps/qrfcview.png PORTDOCS= * +DESKTOP_ENTRIES="qRFCView" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ + "qRFCView" \ + "Utility;TextTools;Qt;" \ + "" + OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/qRFCView ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/qRFCView ${STAGEDIR}${PREFIX}/libexec/ + ${INSTALL_SCRIPT} ${WRKDIR}/qRFCView ${STAGEDIR}${PREFIX}/bin/ + ${LN} -s qRFCView ${STAGEDIR}${PREFIX}/bin/qrfcview + ${INSTALL_DATA} ${WRKSRC}/images/rfcview.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Added: head/deskutils/qrfcview/files/qRFCView.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/qrfcview/files/qRFCView.in Fri May 12 09:00:29 2017 (r440678) @@ -0,0 +1,12 @@ +#!/bin/sh + +QRFCVIEW_DIR=$HOME/.local/share/qrfcview + +if [ -n "$XDG_DATA_HOME" ]; then + QRFCVIEW_DIR="$XDG_DATA_HOME/qrfcview" +fi + +mkdir -p $QRFCVIEW_DIR +cd $QRFCVIEW_DIR + +exec %%PREFIX%%/libexec/qRFCView "$@" Modified: head/deskutils/qrfcview/pkg-descr ============================================================================== --- head/deskutils/qrfcview/pkg-descr Fri May 12 08:58:38 2017 (r440677) +++ head/deskutils/qrfcview/pkg-descr Fri May 12 09:00:29 2017 (r440678) @@ -1,10 +1,10 @@ qRFCView is a viewer for IETF RFCs. Advantages are: -* automatic table of content, with direct opening of section; -* handling of RFC internal cross-references; +* automatic table of content, with direct opening of section +* handling of RFC internal cross-references * automatic downloading of a referenced RFC from the IETF web site on - a simple click; -* caching of RFC in a local directory; -* tab-browsing of RFC; -* searching. + a simple click +* caching of RFC in a local directory +* tab-browsing of RFC +* searching -WWW: http://qrfcview.berlios.de/ +WWW: https://web-beta.archive.org/web/20130618220115/http://qrfcview.berlios.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705120900.v4C90Tk6030973>