diff options
author | plunky <plunky@pkgsrc.org> | 2019-12-29 14:15:32 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2019-12-29 14:15:32 +0000 |
commit | a704ef1f8b7fecbde4154d0b580d24b5d3c4105e (patch) | |
tree | 90c05ffc4801c50b574d7b35661e7b2345fa8869 /cad/qcad | |
parent | a90f86f0292d79b3b7d05e4de935e12d70a4583e (diff) | |
download | pkgsrc-a704ef1f8b7fecbde4154d0b580d24b5d3c4105e.tar.gz |
install icons as qcad.???
Diffstat (limited to 'cad/qcad')
-rw-r--r-- | cad/qcad/Makefile | 19 | ||||
-rw-r--r-- | cad/qcad/PLIST | 12 |
2 files changed, 19 insertions, 12 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile index ac0c8aea3a9..198676afec2 100644 --- a/cad/qcad/Makefile +++ b/cad/qcad/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.81 2019/12/29 12:44:15 plunky Exp $ +# $NetBSD: Makefile,v 1.82 2019/12/29 14:15:32 plunky Exp $ # DISTNAME= qcad-3.24.0.1 +PKGREVISION= 1 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_GITHUB:=qcad/} EXTRACT_USING= bsdtar @@ -26,6 +27,12 @@ SUBST_FILES.paths+= scripts/Help/ShowReadme/ShowReadme.js SUBST_FILES.paths+= scripts/Widgets/LibraryBrowser/LibraryBrowser.js SUBST_VARS.paths= PREFIX +SUBST_CLASSES+= icon +SUBST_STAGE.icon= pre-configure +SUBST_MESSAGE.icon= Fix icon name. +SUBST_FILES.icon= qcad.desktop +SUBST_SED.icon= -e s,qcad_icon,qcad,g + .include "../../mk/bsd.prefs.mk" PLIST_VARS+= glx egl .if ${OPSYS} != "Darwin" @@ -56,15 +63,15 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/qcad.desktop \ ${DESTDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/support/logo/logo_512.svg \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qcad_icon.svg + ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qcad.svg ${INSTALL_DATA} ${WRKSRC}/support/logo/logo_512.svg \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/512x512/apps/qcad_icon.svg + ${DESTDIR}${PREFIX}/share/icons/hicolor/512x512/apps/qcad.svg ${INSTALL_DATA} ${WRKSRC}/support/logo/logo_512.png \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/512x512/apps/qcad_icon.png + ${DESTDIR}${PREFIX}/share/icons/hicolor/512x512/apps/qcad.png ${INSTALL_DATA} ${WRKSRC}/scripts/qcad_icon.png \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/256x256/apps/qcad_icon.png + ${DESTDIR}${PREFIX}/share/icons/hicolor/256x256/apps/qcad.png ${INSTALL_DATA} ${WRKSRC}/support/doc/api/qcad_icon.png \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/64x64/apps/qcad_icon.png + ${DESTDIR}${PREFIX}/share/icons/hicolor/64x64/apps/qcad.png ${INSTALL_LIB} ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-*/qtbindings/qtscript_*/libqtscript_*.so* \ ${DESTDIR}${PREFIX}/lib/qcad/plugins/script ${INSTALL_MAN} ${WRKSRC}/qcad.1 \ diff --git a/cad/qcad/PLIST b/cad/qcad/PLIST index de04f1d4a14..2ef682cf6b4 100644 --- a/cad/qcad/PLIST +++ b/cad/qcad/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2019/12/29 12:44:15 plunky Exp $ +@comment $NetBSD: PLIST,v 1.17 2019/12/29 14:15:32 plunky Exp $ bin/qcad lib/libdxflib.so lib/libopennurbs.so @@ -10547,11 +10547,11 @@ ${PLIST.glx}lib/qcad/xcbglintegrations/libqxcb-glx-integration.so lib/qcad/xcbglintegrations/readme.txt man/man1/qcad.1 share/applications/qcad.desktop -share/icons/hicolor/256x256/apps/qcad_icon.png -share/icons/hicolor/512x512/apps/qcad_icon.png -share/icons/hicolor/512x512/apps/qcad_icon.svg -share/icons/hicolor/64x64/apps/qcad_icon.png -share/icons/hicolor/scalable/apps/qcad_icon.svg +share/icons/hicolor/256x256/apps/qcad.png +share/icons/hicolor/512x512/apps/qcad.png +share/icons/hicolor/512x512/apps/qcad.svg +share/icons/hicolor/64x64/apps/qcad.png +share/icons/hicolor/scalable/apps/qcad.svg share/qcad/examples/calibration.dxf share/qcad/examples/colors.dxf share/qcad/examples/entities.dxf |