aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stellarium
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-24 17:35:29 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-24 17:35:29 +0800
commit191f5a8661dcbc854cdc14e0afcbd9c58e0e2866 (patch)
treea2813adcb4e2890ff26f8283eee615c7e655b8b4 /astro/stellarium
parent494e78f5504921fee3dd0ee3cb54e19257051890 (diff)
downloadfreebsd-ports-gnome-191f5a8661dcbc854cdc14e0afcbd9c58e0e2866.tar.gz
freebsd-ports-gnome-191f5a8661dcbc854cdc14e0afcbd9c58e0e2866.tar.zst
freebsd-ports-gnome-191f5a8661dcbc854cdc14e0afcbd9c58e0e2866.zip
- 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
Diffstat (limited to 'astro/stellarium')
-rw-r--r--astro/stellarium/Makefile11
-rw-r--r--astro/stellarium/pkg-plist1
2 files changed, 3 insertions, 9 deletions
diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile
index f2e1c0435440..4f40514df9fd 100644
--- a/astro/stellarium/Makefile
+++ b/astro/stellarium/Makefile
@@ -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}
diff --git a/astro/stellarium/pkg-plist b/astro/stellarium/pkg-plist
index a689a2e3a1fb..2429587a3471 100644
--- a/astro/stellarium/pkg-plist
+++ b/astro/stellarium/pkg-plist
@@ -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