summaryrefslogtreecommitdiff
path: root/misc/celestia-gnome/Makefile
blob: d44f0720431d2e48735d55824db194f0d02aeb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.9 2004/12/05 11:55:12 wiz Exp $

PKGNAME=	${DISTNAME:S/-/-gnome-/}

COMMENT=	GNOME frontend for free real-time 3D space simulator

DEPENDS=	celestia-${CELESTIA_VERS}*:../../misc/celestia

CONFIGURE_ARGS+=	--with-gnome

BUILD_DIRS=	${WRKSRC}/src

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/celestia/celestia \
		${PREFIX}/bin/gcelestia
	${INSTALL_DATA_DIR} ${PREFIX}/etc/gconf/schemas
	${INSTALL_DATA} ${WRKSRC}/src/celestia/gtk/data/celestia.schemas \
		${PREFIX}/etc/gconf/schemas
	${INSTALL_DATA} ${WRKSRC}/src/celestia/gtk/data/celestia.desktop \
		${PREFIX}/share/applications/
	${INSTALL_DATA} ${WRKSRC}/src/celestia/gtk/data/celestia.png \
		${PREFIX}/share/pixmaps

.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/gtkglext/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"

.include "../../misc/celestia/Makefile.common"

.include "../../mk/bsd.pkg.mk"