pkgsrc/x11/xlockmore/Makefile
hubertf 7a8db65186 Update to 4.17.1. Changes:
!!! We already had the security-related changes in pkgsrc !!!

* Security Focus found a security bug with display name passing "%d" as the
*   display name.  Thanks to Jeremy Buhler <jbuhler@cs.washington.edu> for
*   the xlockmore patch.
* Environment configuration (--disable-interactive) logic was corrected
*   (default was ok but you had to --enable-interactive to disable) thanks
*   to Tom Schmidt <tschmidt@micron.com>.
* Man page changes.
2000-08-21 20:31:50 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2000/08/21 20:31:50 hubertf Exp $
# FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp
#
DISTNAME= xlockmore-4.17.1
CATEGORIES= x11
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
${MASTER_SITE_XCONTRIB:=applications/}
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.tux.org/~bagleyd/xlockmore.html
DEPENDS+= xpm-3.4k:../../graphics/xpm
DEPENDS+= Mesa-*:../../graphics/Mesa
GNU_CONFIGURE= yes
USE_X11BASE= yes
CONFIGURE_ARGS+= --with-mesagl --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
--without-nas --without-gtk
post-patch:
for i in xlock/sound.c xlock/resource.c ; do \
f=${WRKSRC}/$$i ; \
[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
${SED} \
-e 's|@PREFIX@|${PREFIX}|g' \
<$$f.BAK >$$f ; \
done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xlockmore
${INSTALL_DATA} \
${WRKSRC}/sounds/thank-you.au \
${WRKSRC}/sounds/identify-please.au \
${WRKSRC}/sounds/not-programmed.au \
${WRKSRC}/sounds/complete.au \
${PREFIX}/lib/X11/xlockmore
.include "../../mk/bsd.pkg.mk"