blob: 9e9753f672adfbd1c7dfb345f5ec41be51bd0508 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile.common,v 1.49 2003/06/11 20:51:00 abs Exp $
#
DISTNAME= xscreensaver-4.10
CATEGORIES= x11
MASTER_SITES= ${HOMEPAGE} \
ftp://ftp.fu-berlin.de/unix/X11/graphics/xscreensaver/
MAINTAINER= packages@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}/../xscreensaver/distinfo
FILESDIR= ${.CURDIR}/../xscreensaver/files
PATCHDIR= ${.CURDIR}/../xscreensaver/patches
PKGDIR= ${.CURDIR}/../xscreensaver
.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 ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
. include "../../mk/gcc.buildlink2.mk"
.endif
.include "../../graphics/gle/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
|