211a0edafb
xscreensaver-demo program (which requires GTK). This is done to allow xscreensaver coexist with xscreensaver-gnome, and to avoid a dependancy on GTK when installing kdeartwork3. Changes since 4.13: * New hacks, `fontglide', `apple2', `xanalogtv', `pong', `gleidescope', `mirrorblob', and `blinkbox'. * New version of `glsnake' (with many more models.) * Another Windows crash in `bsod'; also HVX/GCOS6/TPS6. * New version of `endgame'. * Screen grabbing works on MacOS X. * Various minor fixes. Ok'ed by wiz@.
59 lines
1.6 KiB
Makefile
59 lines
1.6 KiB
Makefile
# $NetBSD: Makefile.common,v 1.58 2003/12/13 19:22:12 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= xscreensaver-4.14
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
ftp://ftp.fu-berlin.de/unix/X11/graphics/xscreensaver/
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.jwz.org/xscreensaver/
|
|
|
|
USE_BUILDLINK2= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_X11BASE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-hackdir=${PREFIX}/libexec/xscreensaver
|
|
CONFIGURE_ARGS+= --with-gl
|
|
CONFIGURE_ARGS+= --with-gle
|
|
CONFIGURE_ARGS+= --with-jpeg=${BUILDLINK_PREFIX.jpeg}
|
|
CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
|
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
CONFIGURE_ARGS+= --without-shadow
|
|
|
|
CONFIGURE_ENV+= X_PRE_LIBS=-lXt
|
|
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
|
|
CONFIGURE_ENV+= PERL="${PERL5}" ac_cv_perl_version="${PERL_VERSION}"
|
|
MAKE_ENV+= KDEDIR=${PREFIX}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/xscreensaver/distinfo
|
|
FILESDIR= ${.CURDIR}/../../x11/xscreensaver/files
|
|
PATCHDIR= ${.CURDIR}/../../x11/xscreensaver/patches
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.ifndef (PERL_VERSION)
|
|
PERL_VERSION!= if [ -x ${PERL5} ]; then ${PERL5} -e 'print $$]'; else ${ECHO} "5.006"; fi
|
|
MAKEFLAGS+= PERL_VERSION="${PERL_VERSION}"
|
|
.endif
|
|
|
|
.if (${OPSYS} == "NetBSD")
|
|
. if defined(KERBEROS)
|
|
CFLAGS+= -I/usr/include/kerberosIV
|
|
. else
|
|
CONFIGURE_ARGS+= --without-kerberos
|
|
. endif
|
|
.endif
|
|
|
|
.if (${_CC_IS_GCC} == "YES")
|
|
CFLAGS+= -fno-strict-aliasing
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
|
USE_PKGSRC_GCC= # defined
|
|
.endif
|
|
|
|
.include "../../graphics/gle/buildlink2.mk"
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|