1 # $NetBSD: Makefile,v 1.98 2012/10/23 10:24:23 wiz Exp $
3 COMMENT
= Screen saver and locker for the X window system
6 CONFLICTS
+= xscreensaver-gnome
<4.14
8 .
include "Makefile.common"
10 .
include "../../textproc/libxml2/buildlink3.mk"
12 CONFIGURE_ARGS
+= --without-gtk
13 CONFIGURE_ARGS
+= --with-xml
=${BUILDLINK_PREFIX.libxml2
}
14 CONFIGURE_ARGS
+= --with-configdir
=${PREFIX}/libexec
/xscreensaver
/config
16 EGDIR
= ${PREFIX}/share
/examples
/xscreensaver
17 MESSAGE_SUBST
+= EGDIR
=${EGDIR
:Q
}
19 # Remove useless locale files that have no translations in them.
20 # use pipes from 5.17, the new version is too slow
22 cd
${WRKSRC}/po
&& ${RM} -f ca.po pt_BR.po
23 ${CP} ${FILESDIR}/pipes.c
${WRKSRC}/hacks
/glx
25 INSTALLATION_DIRS
= ${EGDIR}/pam.d
28 ${INSTALL_DATA} ${FILESDIR}/pam-xscreensaver-NetBSD \
29 ${DESTDIR}${EGDIR}/pam.d
/xscreensaver-NetBSD
31 .
include "../../x11/libXScrnSaver/buildlink3.mk"
32 .
include "../../x11/libXext/buildlink3.mk"
33 .
include "../../x11/libXinerama/buildlink3.mk"
34 .
include "../../x11/libXpm/buildlink3.mk"
35 .
include "../../x11/libXxf86misc/buildlink3.mk"
36 .
include "../../x11/libXxf86vm/buildlink3.mk"
37 .
include "../../mk/bsd.pkg.mk"