pkgsrc/x11/xscreensaver/Makefile
wiz 047a7f787e Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.100 2013/05/31 12:42:57 wiz Exp $
COMMENT= Screen saver and locker for the X window system
PKGREVISION= 2
CONFLICTS+= xscreensaver-gnome<4.14
.include "Makefile.common"
.include "options.mk"
.include "../../textproc/libxml2/buildlink3.mk"
CONFIGURE_ARGS+= --without-gtk
CONFIGURE_ARGS+= --with-xml=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-configdir=${PREFIX}/libexec/xscreensaver/config
EGDIR= ${PREFIX}/share/examples/xscreensaver
MESSAGE_SUBST+= EGDIR=${EGDIR:Q}
# Remove useless locale files that have no translations in them.
# use pipes from 5.17, the new version is too slow
post-extract:
cd ${WRKSRC}/po && ${RM} -f ca.po pt_BR.po
${CP} ${FILESDIR}/pipes.c ${WRKSRC}/hacks/glx
INSTALLATION_DIRS= ${EGDIR}/pam.d
post-install:
${INSTALL_DATA} ${FILESDIR}/pam-xscreensaver-NetBSD \
${DESTDIR}${EGDIR}/pam.d/xscreensaver-NetBSD
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXxf86misc/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"