2007-10-23 22:17:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.41 2007/10/23 20:17:58 heinz Exp $
|
2002-03-25 17:08:07 +01:00
|
|
|
|
2005-06-30 17:06:24 +02:00
|
|
|
DISTNAME= xplanet-1.2.0
|
2007-08-01 22:15:05 +02:00
|
|
|
PKGREVISION= 5
|
2004-04-26 16:56:01 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
|
2002-03-25 17:08:07 +01:00
|
|
|
|
2004-04-26 16:56:01 +02:00
|
|
|
MAINTAINER= atatat@NetBSD.org
|
|
|
|
HOMEPAGE= http://xplanet.sourceforge.net/
|
|
|
|
COMMENT= Rotating rendered map of the Earth in X11 root window
|
2002-03-25 17:08:07 +01:00
|
|
|
|
2007-10-23 22:17:58 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-05-16 01:09:05 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2002-09-24 01:11:58 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-28 16:20:20 +02:00
|
|
|
CONFIGURE_ENV+= PERL=${_ENV_PERL:Q}
|
|
|
|
_ENV_PERL= ${TOOLS_SETENV} perl
|
2002-03-25 17:08:07 +01:00
|
|
|
|
2004-04-26 16:56:01 +02:00
|
|
|
# directory creation should be fixed in the future release of xplanet
|
2007-06-30 05:57:10 +02:00
|
|
|
XPLANET_DIRS= arcs config ephemeris fonts images markers origin
|
2007-01-23 02:27:00 +01:00
|
|
|
XPLANET_DIRS+= satellites scripts spice stars
|
|
|
|
INSTALLATION_DIRS+= ${XPLANET_DIRS:C,.*,share/xplanet/&,g}
|
2002-03-25 17:08:07 +01:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xplanet
|
|
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
2006-09-20 20:20:39 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
2007-06-30 05:57:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2007-01-26 19:22:48 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-04-26 16:56:01 +02:00
|
|
|
.include "../../devel/pango/buildlink3.mk"
|
2007-01-26 19:22:48 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2006-09-20 20:20:39 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-pango
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
CONFIGURE_ARGS+= --without-xscreensaver
|
|
|
|
.endif
|
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
|
2004-04-26 16:56:01 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
|
|
.include "../../graphics/netpbm/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2002-04-12 15:20:01 +02:00
|
|
|
|
2002-03-25 17:08:07 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|