38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.83 2007/01/15 17:38:18 joerg Exp $
|
|
|
|
PKGREVISION= 1
|
|
|
|
COMMENT= Screen saver and locker for the X window system
|
|
|
|
CONFLICTS+= xscreensaver-gnome<4.14
|
|
|
|
.include "Makefile.common"
|
|
|
|
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}
|
|
|
|
.include "options.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
# Remove useless locale files that have no translations in them.
|
|
post-extract:
|
|
cd ${WRKSRC}/po && ${RM} -f ca.po pt_BR.po
|
|
|
|
post-install: installpamex
|
|
installpamex:
|
|
${INSTALL_DATA_DIR} ${EGDIR}/pam.d
|
|
${INSTALL_DATA} ${FILESDIR}/pam-xscreensaver-NetBSD \
|
|
${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 "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|