From 4abbda3ffc28c6e5ab048c35558887e5b196de73 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 12 May 2017 09:00:29 +0000 Subject: - Add LICENSE - Install wrapper to set correct work directory - Add .desktop entry - Switch to options helpers - Clean up pkg-descr - Update WWW --- deskutils/qrfcview/Makefile | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'deskutils/qrfcview/Makefile') diff --git a/deskutils/qrfcview/Makefile b/deskutils/qrfcview/Makefile index 46db3da95b12..1febafc1c89d 100644 --- a/deskutils/qrfcview/Makefile +++ b/deskutils/qrfcview/Makefile @@ -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 -- cgit