- Do not convert the menu icon to .png (GNOME now support .ico files,
and anyway icoconvert fails on 64-bit architectures) - Let bsd.port.mk generate the desktop Categories field
This commit is contained in:
parent
782dfac4c9
commit
734df2b5bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163249
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= stellarium
|
||||
PORTVERSION= 0.8.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -14,7 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= jylefort@FreeBSD.org
|
||||
COMMENT= A 3D photo-realistic sky renderer
|
||||
|
||||
BUILD_DEPENDS= icoconvert:${PORTSDIR}/graphics/icoconvert
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
||||
freetype:${PORTSDIR}/print/freetype2
|
||||
|
||||
@ -33,9 +33,9 @@ PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
DESKTOP_ENTRIES="Stellarium" \
|
||||
"View the sky" \
|
||||
"stellarium.png" \
|
||||
"${DATADIR}/data/stellarium.ico" \
|
||||
"stellarium" \
|
||||
"Application;Astronomy;Science;Education;" \
|
||||
"" \
|
||||
false
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -44,12 +44,7 @@ DESKTOP_ENTRIES="Stellarium" \
|
||||
IGNORE= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
@icoconvert ${WRKSRC}/data/stellarium.ico
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/data/stellarium_64X64_32bpp.png \
|
||||
${PREFIX}/share/pixmaps/stellarium.png
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
|
@ -355,7 +355,6 @@ share/locale/tr/LC_MESSAGES/stellarium.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/stellarium.mo
|
||||
share/locale/zh_HK/LC_MESSAGES/stellarium.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/stellarium.mo
|
||||
share/pixmaps/stellarium.png
|
||||
@dirrm %%DATADIR%%/data/scripts
|
||||
@dirrm %%DATADIR%%/data/sky_cultures/chinese
|
||||
@dirrm %%DATADIR%%/data/sky_cultures/egyptian
|
||||
|
Loading…
Reference in New Issue
Block a user