diff --git a/net/xrdesktop2/Makefile b/net/xrdesktop2/Makefile index 91e37a7406cd..b07de503b123 100644 --- a/net/xrdesktop2/Makefile +++ b/net/xrdesktop2/Makefile @@ -1,5 +1,6 @@ PORTNAME= xrdesktop2 PORTVERSION= 2.00 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://BSDforge.com/projects/source/net/xrdesktop2/ @@ -10,27 +11,30 @@ WWW= https://BSDforge.com/projects/net/xrdesktop2/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= rdesktop:net/rdesktop \ - p5-Gtk2>=0:x11-toolkits/p5-Gtk2 +RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ + rdesktop:net/rdesktop +USES= desktop-file-utils perl5 shebangfix tar:xz +SHEBANG_FILES= xrdesktop CONFLICTS= xrdesktop-1* -NO_BUILD= yes NO_ARCH= yes -USES= perl5 shebangfix tar:xz -SHEBANG_FILES= xrdesktop +NO_BUILD= yes DOCS= Changelog README -PIXMAPS= *.png +PIXMAPS= x-remote-desktop-256.png x-remote-desktop-128.png \ + x-remote-desktop-48.png -PLIST_FILES= bin/xrdesktop share/doc/xrdesktop2/Changelog \ - share/doc/xrdesktop2/README share/pixmaps/x-remote-desktop-256.png \ +PLIST_FILES= bin/xrdesktop \ + share/applications/xrdesktop2.desktop \ + share/doc/xrdesktop2/Changelog \ + share/doc/xrdesktop2/README \ share/pixmaps/x-remote-desktop-128.png \ - share/pixmaps/x-remote-desktop-48.png \ - share/applications/xrdesktop2.desktop + share/pixmaps/x-remote-desktop-256.png \ + share/pixmaps/x-remote-desktop-48.png do-install: ${INSTALL_SCRIPT} ${WRKSRC}/xrdesktop ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/${PIXMAPS} ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${PIXMAPS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/xrdesktop2.desktop ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}; ${INSTALL_DATA} ${WRKSRC}/${DOCS} ${STAGEDIR}${DOCSDIR}