1 # $NetBSD: Makefile,v 1.50 2013/02/16 11:25:33 wiz Exp $
4 PKGNAME
= ${DISTNAME
:S
/-/-demo-
/}
6 COMMENT
= Demo viewer and configuration tool for xscreensaver
8 CONFLICTS
+= xscreensaver
<4.14 xscreensaver-gnome-
[0-9]*
10 .
include "../../x11/xscreensaver/Makefile.common"
12 USE_TOOLS
+= pkg-config
14 CONFIGURE_ARGS
+= --with-gtk
=${BUILDLINK_PREFIX.gtk2
}
15 CONFIGURE_ARGS
+= --with-xml
=${BUILDLINK_PREFIX.libxml2
}
16 CONFIGURE_ARGS
+= --with-configdir
=${PREFIX}/libexec
/xscreensaver
/config
18 BUILD_DIRS
= utils driver
20 INSTALL_TARGET
= install-gnome
22 INSTALLATION_DIRS
= bin
${PKGMANDIR}/man1
25 ${INSTALL_PROGRAM} ${WRKSRC}/driver
/xscreensaver-demo \
26 ${DESTDIR}${PREFIX}/bin
27 ${INSTALL_MAN} ${WRKSRC}/driver
/xscreensaver-demo.man \
28 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
/xscreensaver-demo
.1
30 .
include "../../devel/libglade/buildlink3.mk"
31 .
include "../../textproc/libxml2/buildlink3.mk"
32 .
include "../../x11/gtk2/buildlink3.mk"
33 .
include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
34 .
include "../../x11/xscreensaver/buildlink3.mk"
35 .
include "../../mk/bsd.pkg.mk"