pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/castor net/castor: add svg icon



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de63feb5ba3a
branches:  trunk
changeset: 372645:de63feb5ba3a
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Jan 27 21:56:52 2022 +0000

description:
net/castor: add svg icon

Minor change, no rev bump.

diffstat:

 net/castor/Makefile |  16 +++++++++++-----
 net/castor/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 788634bcaeb8 -r de63feb5ba3a net/castor/Makefile
--- a/net/castor/Makefile       Thu Jan 27 21:42:02 2022 +0000
+++ b/net/castor/Makefile       Thu Jan 27 21:56:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/01/27 13:27:07 pin Exp $
+# $NetBSD: Makefile,v 1.2 2022/01/27 21:56:52 pin Exp $
 
 DISTNAME=      0.8.18
 PKGNAME=       castor-0.8.18
@@ -15,7 +15,7 @@
 USE_LANGUAGES+=        c c++
 USE_TOOLS+=    pkg-config
 
-INSTALLATION_DIRS=     bin share/applications share/examples/castor
+INSTALLATION_DIRS=     bin share/applications share/examples/castor share/icons/hicolor/scalable/apps
 
 WRKSRC=                        ${WRKDIR}/castor-${DISTNAME}
 
@@ -24,9 +24,14 @@
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk3}/lib
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/castor ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA} ${WRKSRC}/data/Castor.desktop ${DESTDIR}${PREFIX}/share/applications
-       ${INSTALL_DATA} ${WRKSRC}/data/castor_settings.toml.example ${DESTDIR}${PREFIX}/share/examples/castor
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/castor \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/data/Castor.desktop \
+               ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/data/castor_settings.toml.example \
+               ${DESTDIR}${PREFIX}/share/examples/castor
+       ${INSTALL_DATA} ${WRKSRC}/data/org.typed-hole.castor.svg \
+               ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
 
 .include "../../lang/rust/cargo.mk"
 .include "../../security/openssl/buildlink3.mk"
@@ -38,4 +43,5 @@
 .include "../../devel/atk/buildlink3.mk"
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 788634bcaeb8 -r de63feb5ba3a net/castor/PLIST
--- a/net/castor/PLIST  Thu Jan 27 21:42:02 2022 +0000
+++ b/net/castor/PLIST  Thu Jan 27 21:56:52 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2022/01/27 13:27:07 pin Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/01/27 21:56:52 pin Exp $
 bin/castor
 share/applications/Castor.desktop
 share/examples/castor/castor_settings.toml.example
+share/icons/hicolor/scalable/apps/org.typed-hole.castor.svg



Home | Main Index | Thread Index | Old Index