2003-12-15 00:56:58 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.59 2003/12/14 23:56:58 seb Exp $
|
2000-06-03 21:07:29 +02:00
|
|
|
#
|
|
|
|
|
2003-12-13 20:22:12 +01:00
|
|
|
DISTNAME= xscreensaver-4.14
|
2000-08-01 12:46:33 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/X11/graphics/xscreensaver/
|
2000-06-03 21:07:29 +02:00
|
|
|
|
2003-09-08 14:15:41 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2000-08-01 12:46:33 +02:00
|
|
|
HOMEPAGE= http://www.jwz.org/xscreensaver/
|
2000-06-03 21:07:29 +02:00
|
|
|
|
2002-09-22 00:47:11 +02:00
|
|
|
USE_BUILDLINK2= yes
|
2003-01-10 09:00:02 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2003-02-11 12:24:09 +01:00
|
|
|
USE_X11BASE= yes
|
2000-06-03 21:07:29 +02:00
|
|
|
|
2000-08-01 12:46:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-02-09 22:12:56 +01:00
|
|
|
CONFIGURE_ARGS+= --with-hackdir=${PREFIX}/libexec/xscreensaver
|
2002-04-10 00:50:02 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gl
|
|
|
|
CONFIGURE_ARGS+= --with-gle
|
2002-08-25 23:50:52 +02:00
|
|
|
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
|
2002-04-10 00:50:02 +02:00
|
|
|
CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
|
|
|
|
|
2000-08-01 12:46:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
CONFIGURE_ARGS+= --without-shadow
|
2002-04-10 00:50:02 +02:00
|
|
|
|
2001-02-08 06:57:52 +01:00
|
|
|
CONFIGURE_ENV+= X_PRE_LIBS=-lXt
|
2002-04-10 00:50:02 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
|
|
|
|
CONFIGURE_ENV+= PERL="${PERL5}" ac_cv_perl_version="${PERL_VERSION}"
|
2003-12-15 00:56:58 +01:00
|
|
|
CONFIGURE_ENV+= INTLTOOL_PERL="${ECHO} ${PERL_VERSION}"
|
|
|
|
CONFIGURE_ARGS+= ac_cv_path_INTLTOOL_PERL="${ECHO} ${PERL_VERSION}"
|
2002-11-06 12:11:38 +01:00
|
|
|
MAKE_ENV+= KDEDIR=${PREFIX}
|
2000-08-01 12:46:33 +02:00
|
|
|
|
2003-12-13 20:22:12 +01:00
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/xscreensaver/distinfo
|
|
|
|
FILESDIR= ${.CURDIR}/../../x11/xscreensaver/files
|
|
|
|
PATCHDIR= ${.CURDIR}/../../x11/xscreensaver/patches
|
2000-06-03 21:07:29 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-04-10 00:50:02 +02:00
|
|
|
.ifndef (PERL_VERSION)
|
|
|
|
PERL_VERSION!= if [ -x ${PERL5} ]; then ${PERL5} -e 'print $$]'; else ${ECHO} "5.006"; fi
|
|
|
|
MAKEFLAGS+= PERL_VERSION="${PERL_VERSION}"
|
|
|
|
.endif
|
|
|
|
|
2000-06-03 21:07:29 +02:00
|
|
|
.if (${OPSYS} == "NetBSD")
|
2002-08-29 11:51:08 +02:00
|
|
|
. if defined(KERBEROS)
|
2000-08-01 12:46:33 +02:00
|
|
|
CFLAGS+= -I/usr/include/kerberosIV
|
2002-08-29 11:51:08 +02:00
|
|
|
. else
|
2000-08-01 12:46:33 +02:00
|
|
|
CONFIGURE_ARGS+= --without-kerberos
|
2002-08-29 11:51:08 +02:00
|
|
|
. endif
|
2000-06-03 21:07:29 +02:00
|
|
|
.endif
|
|
|
|
|
2003-11-14 15:58:15 +01:00
|
|
|
.if (${_CC_IS_GCC} == "YES")
|
|
|
|
CFLAGS+= -fno-strict-aliasing
|
|
|
|
.endif
|
|
|
|
|
2003-06-11 22:50:50 +02:00
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
2003-09-17 21:39:58 +02:00
|
|
|
USE_PKGSRC_GCC= # defined
|
2002-05-16 23:55:31 +02:00
|
|
|
.endif
|
|
|
|
|
2002-08-25 23:50:52 +02:00
|
|
|
.include "../../graphics/gle/buildlink2.mk"
|
Update to 4.06.
Changes since 4.05: * New hack, `glblur' (disabled by default, since it
requires fast OpenGL texture support.)
* New hack, `halftone'.
* Updates to `endgame', `queens', `bumps', `glplanet',
`engine', and `circuit'.
* New version of `menger' that uses far fewer polygons.
* Fixed minor bug in `critical' that could cause some
bogus X servers to crash.
* Better labels in `molecule': the labels now appear to
be attached to the atoms, instead of floating in front
of the whole scene.
* Fixed bug that could rarely cause GL hacks to fail to
double-buffer (causing intermittent flickering.)
* Fixed a relative-URL-parsing bug in `webcollage'.
* Fixed a bug that (sometimes) caused the window manager
close box to kill `xscreensaver-demo' with a crash
instead of a graceful exit.
* Updated xscreensaver.pam to the Red Hat 7.3 way.
* More Gnome2-related configure crap.
* Updated to latest `config.guess' and `config.sub'.
* Fixed occasional core dump in `distort'.
* Added a Linux fsck failure and kernel panic to `bsod'.
* Added MacOS X kernel panic to `bsod'.
* Fixed a bug in `bsod' (all bsod bugs are ironic.)
* Fixed a bug that caused `xscreensaver-gl-helper' to
print a nonsense visual ID with some versions of
`printf': this could cause GL programs to display
incorrectly (e.g., flickery.)
Changes since 4.04: * More `configure' tweaks to try and get things working
on systems that both Gtk 1.x and 2.x installed.
* New hack, `endgame'.
* Minor updates to `gltext'.
Changes since 4.03: * Support for GTK 2.x / GNOME 2.x.
* The `configure' script will now use `pkg-config' if
you have it, in preference to `gtk-config', etc.
* New hacks, `lavalite', `queens', and `anemone'.
* Minor updates to `spheremonics', `gltext', `xmatrix'.
* You can use the mouse to manually spin most of the GL
hacks now (when they are displaying in a window.)
* Fixed a bug in `webcollage' (due to recent Alta Vista
url changes) that was causing it to try and load
incorrect image URLs.
* Made `xscreensaver-getimage' use gdk_pixbuf if it is
available: this means that those hacks that load images
will no longer rely on "xv", "xloadimage", etc. This
will close a race condition that could sometimes cause
your desktop background to be changed; and also makes
it possible for those programs to operate on image
files when running in windowed mode.
* `webcollage' can now be used in conjunction with
`driftnet' to display images snooped from your local
ethernet instead of obtained from search engines.
* Added man pages for all the hacks that didn't have
them.
Changes since 4.02: * New hack, `spheremonics'.
* Minor updates to `webcollage', `cage', `moebius',
`morph3d', `boxed', `circuit', and `helix'.
* `pulsar' and `extrusion' can now load texture JPEGs.
* `rubik' now does non-square cubes.
* `fluidballs' now does various sizes of balls.
* `menger' and `sierpinski3d' now also show polygon
counts in -fps mode.
* `molecule' displays real subscripts in the formulae.
* GTK internationalization/localization support.
* Better detection of the various versions of libxml.
* Upgraded to autoconf 2.53 (from 2.13.)
2002-10-28 23:37:10 +01:00
|
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|