summaryrefslogtreecommitdiff
path: root/x11/xplanet/Makefile
blob: e6d84d6ac8a5c6102e6d36dcf8cf92eb09b75fb7 (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
35
36
37
38
39
# $NetBSD: Makefile,v 1.4 2002/04/13 07:07:49 agc Exp $
#

DISTNAME=		xplanet-0.93
PKGREVISION=		1
CATEGORIES=		x11
MASTER_SITES=		http://prdownloads.sourceforge.net/xplanet/

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

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-gl-dir=${BUILDLINK_DIR}
CONFIGURE_ARGS+=	--with-glut-dir=${BUILDLINK_DIR}

USE_GMAKE=		yes
USE_X11=		yes

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

pre-configure:
	cd ${WRKSRC} ; \
	f=xplanet.1 ; \
	[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
	${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f

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

#.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"