summaryrefslogtreecommitdiff
path: root/x11/xplanet/Makefile
blob: 448333860cf06799119dcdce624699aee3799fa9 (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
31
32
33
34
# $NetBSD: Makefile,v 1.14 2004/01/24 15:30:34 grant Exp $
#

DISTNAME=		xplanet-1.0.1
PKGREVISION=		1
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=xplanet/}

MAINTAINER=		atatat@NetBSD.org
HOMEPAGE=		http://xplanet.sourceforge.net/
COMMENT=		Rotating rendered map of the Earth in X11 root window

USE_BUILDLINK2=		yes
USE_GCC_SHLIB=		yes
USE_X11=		yes
USE_GNU_TOOLS+=		make

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-gl-dir=${BUILDLINK_PREFIX.Mesa}
CONFIGURE_ARGS+=	--with-glut-dir=${BUILDLINK_PREFIX.Mesa}

LIBS=			-lXext -lpbm -lppm -lpgm
MAKE_ENV+=		LIBS="${LIBS}"

.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/netpbm/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/tk/buildlink2.mk"

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