2005-09-18 23:31:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.76 2005/09/18 21:31:21 jlam Exp $
|
1998-06-28 01:39:23 +02:00
|
|
|
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Screen saver and locker for the X window system
|
2005-09-18 23:31:21 +02:00
|
|
|
PKGREVISION= 2
|
2001-02-17 18:06:11 +01:00
|
|
|
|
2003-12-18 14:49:17 +01:00
|
|
|
CONFLICTS+= xscreensaver-gnome<4.14
|
2005-03-18 15:44:58 +01:00
|
|
|
# man/man1/barcode.1
|
|
|
|
CONFLICTS+= barcode-[0-9]*
|
1998-06-28 01:39:23 +02:00
|
|
|
|
2004-02-01 11:48:46 +01:00
|
|
|
.include "Makefile.common"
|
2002-04-10 00:50:02 +02:00
|
|
|
|
2003-12-13 20:22:12 +01:00
|
|
|
CONFIGURE_ARGS+= --without-gtk
|
|
|
|
CONFIGURE_ARGS+= --with-xml=${BUILDLINK_PREFIX.libxml2}
|
2002-02-09 22:12:56 +01:00
|
|
|
CONFIGURE_ARGS+= --with-configdir=${PREFIX}/libexec/xscreensaver/config
|
2000-04-24 16:57:48 +02:00
|
|
|
|
2005-07-21 12:59:01 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2005-09-18 23:31:21 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xscreensaver
|
|
|
|
PKG_SUPPORTED_OPTIONS= pam
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpam)
|
|
|
|
. include "../../mk/pam.buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-pam
|
|
|
|
.endif
|
|
|
|
|
2005-07-21 12:59:01 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
|
|
|
|
.if exists(${WRKSRC}/po/ca.gmo)
|
2005-07-21 12:43:23 +02:00
|
|
|
PLIST_SUBST+= OLD_GETTEXT=
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= OLD_GETTEXT="@comment "
|
|
|
|
.endif
|