freebsd-ports/astro/xplanet/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

44 lines
1.3 KiB
Makefile

# Created by: darius@dons.net.au
# $FreeBSD$
PORTNAME= xplanet
PORTVERSION= 1.3.0
PORTREVISION= 4
CATEGORIES= astro geography
MASTER_SITES= SF
MAINTAINER= novel@FreeBSD.org
COMMENT= Draw pictures of the earth textured by an image
GNU_CONFIGURE= yes
USES= iconv
USE_XORG= xt xscrnsaver
CONFIGURE_ARGS= --with-map-extension=jpg
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lm"
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= FREETYPE PANGO GIF JPEG PNG PNM TIFF
OPTIONS_DEFAULT= FREETYPE PANGO GIF JPEG PNG PNM TIFF
FREETYPE_CONFIGURE_WITH= --with-freetype
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
PANGO_CONFIGURE_WITH= pango
PANGO_USE= GNOME=pango
GIF_CONFIGURE_WITH= gif
GIF_LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib
JPEG_CONFIGURE_WITH= jpeg
JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
PNG_CONFIGURE_WITH= png
PNG_LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
PNM_CONFIGURE_WITH= pnm
PNM_LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm
TIFF_CONFIGURE_WITH= tiff
TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff
post-extract:
@${REINPLACE_CMD} -e "s/default/default.sample/g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s/PrintGifError();/GifError();/g" \
${WRKSRC}/src/libimage/gif.c
@${MV} ${WRKSRC}/xplanet/config/default ${WRKSRC}/xplanet/config/default.sample
.include <bsd.port.mk>