pkgsrc/x11/xlockmore/Makefile
hubertf c7cf2f3efe Updated xlockmore to 5.01.2. Changes:
5.01.2
  dclock broken in 5.01.1 thanks to for Stephen Montgomery-Smith
    pointing it out.  (5.01 dclock.c put back).

5.01.1
  Missed a patch to config.h.in for Red Hat 7.1... thanks again to
    Tim Aukland <tda10@Procket.com>.
+ New "tetris -well", now uses generated images, also cleaned up some
+   bugs too.  Bug fix thanks to Tom Schmidt.
  New molecule to solve a random SEGV on Sun thanks to Tom Schmidt
    <tschmidt@micron.com> (it still crashes on my Sun with OpenGL but
    I think its an isolated case).  Also cleaned up a few mistakes in the
    menus and resource file.
  OSF1_ENH_SEC passwd updated to handle passwords with more than eight
    characters using dispcrypt, thanks to Steve VanDevender
    <stevev@hexadecimal.uoregon.edu>.
  molecule fix in sscanf thanks to Jouk Jansen.
  scooter updated thanks to Sven Thoennissen <posse@gmx.net>.
+ Got rid of of some -Wall, lint, and C++ warnings (mostly the new 5.01 modes).
+   ecgs g++ warnings removed from solitare and all glx modes, regular modes
+   left for later (casting NULL).
  Fixed generated xlock.hlp.
+ gears added -size but defaults to 0, only -planetary will use up lots of
+   CPU so added a -planetsize 400 which takes over if -size is 0 (full screen
+   if both are 0).
2001-05-29 00:55:34 +00:00

72 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.43 2001/05/29 00:55:34 hubertf Exp $
# FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp
#
DISTNAME= xlockmore-5.01.2
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
COMMENT= Like the XLock session locker/screen saver, but with more
CHECK_MESA= YES
.include "../../mk/bsd.prefs.mk"
.if !defined(XLOCK_LIGHT)
USE_MESA= YES
.endif
.if !exists(${X11BASE}/lib/libXdpms.a)
XLOCK_NO_DPMS= YES
.endif
GNU_CONFIGURE= YES
USE_X11BASE= YES
.if defined(XLOCK_LIGHT)
CONFIGURE_ARGS+=--without-gltt --without-ttf --without-opengl --without-mesagl \
--without-xpm # --without-cxx XXX doesn't work
CONFIGURE_ENV+= CXX="${CC}" # no dependency on libstdc++
.else
USE_XPM= YES
CONFIGURE_ARGS+= --with-mesagl
.endif
CONFIGURE_ARGS+= --without-motif --without-sx \
--without-editres --without-dtsaver --without-rplay \
--without-nas --without-gtk
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --enable-def_play='/usr/bin/audioplay ${PREFIX}/lib/X11/xlockmore/'
.endif
.if defined(XLOCK_NO_DPMS)
CONFIGURE_ARGS+= --without-dpms
.endif
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
.if defined(XLOCK_DEFAULT_MODE) && ${XLOCK_DEFAULT_MODE} != ""
cd ${WRKSRC}/xlock; \
[ -f XLock.ad.BAK ] || ${MV} XLock.ad XLock.ad.BAK ; \
${SED} \
-e 's/^\(XLock.mode:[ ]*\).*/\1${XLOCK_DEFAULT_MODE}/' \
XLock.ad.BAK >XLock.ad
.endif
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"