openbsd-ports/x11/xscreensaver/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2002/01/09 21:14:44 lebel Exp $
COMMENT= "screen saver and locker for the X Window System"
2001-11-21 14:35:44 -05:00
VERSION= 3.34
DISTNAME= xscreensaver-${VERSION}
CATEGORIES= x11
2001-10-28 21:23:30 -05:00
NEED_VERSION= 1.487
HOMEPAGE= http://www.jwz.org/xscreensaver/
MAINTAINER= David Lebel <lebel@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.jwz.org/xscreensaver/
2001-10-24 10:16:13 -04:00
NO_REGRESS= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-subdir="${PREFIX}/libexec/xscreensaver"
CONFIGURE_ARGS+= --with-gl
CONFIGURE_ARGS+= --with-xpm
2001-10-17 11:57:22 -04:00
CONFIGURE_ARGS+= --without-gnome
CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
CONFIGURE_ARGS+= --without-kerberos
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
FLAVORS= gtk motif no_gle
FLAVOR?= gtk
.if !${FLAVOR:L:Mno_gle}
LIB_DEPENDS= gle.3::graphics/gle
CONFIGURE_ARGS+= --with-gle
.else
CONFIGURE_ARGS+= --without-gle
.endif
.if ${FLAVOR:L:Mgtk} && !${FLAVOR:L:Mmotif}
CONFIGURE_ARGS+= --with-gtk --without-motif
2001-11-01 16:16:53 -05:00
LIB_DEPENDS+= gtk.1.2,gdk::x11/gtk+
.elif ${FLAVOR:L:Mmotif} && !${FLAVOR:L:Mgtk}
CONFIGURE_ENV+= MOTIFHOME=${X11BASE}
CONFIGURE_ARGS+= --with-motif --without-gtk
USE_MOTIF= any
.else
ERRORS+= "Fatal: Please choose either the gtk or motif flavor"
.endif
.include <bsd.port.mk>