pkgsrc/wm/piewm/patches/patch-ab
agc bf056dfb77 Initial import of piewm-1.02 into the NetBSD Packages Collection.
Although the computer screen is two-dimensional, today most users of
windowing environments control their systems with a one-dimensional
list of choices -- the standard pull-down or drop-down menus such as
those found on Microsoft Windows, Presentation Manager, or the
Macintosh.

An alternative user-interface technique is "pie" menus -
two-dimensional, circular, and in many ways easier to use and faster
than conventional linear menus.  Pie menus also work well with
alternative pointing devices such as those found in stylus or
pen-based systems.

piewm is a virtual window manager based on tvtwm, which uses pie menus.
2002-10-28 22:28:31 +00:00

52 lines
1.7 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
--- Imakefile 2002/10/28 22:02:11 1.1
+++ Imakefile 2002/10/28 22:02:45
@@ -11,7 +11,7 @@
TAGS = etags
# change if you want it to look elsewhere for its files.
- PIEWMDIR = /usr/local/lib/piewm
+ PIEWMDIR = ${PREFIX}/lib/piewm
#
# Keep uncommented to allow the xloadimage program by Jim Frost to
@@ -19,7 +19,7 @@
# other image formats besides Xpm or Xbm)
# Chris P. Ross
# <cross@eng.umd.edu>
- XLOADIM_DEF = -DXLOADIMAGE=\"/usr/local/bin/xloadimage\"
+ XLOADIM_DEF = -DXLOADIMAGE=\"${PREFIX}/bin/xloadimage\"
MATHLIB = -lm
LOCAL_DEFINES = -DSHAPE
@@ -28,7 +28,7 @@
ULTRIX_DEFINES = -DNOSTEMP
#endif
-LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm
+LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm -lfl
LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
DEFINES = ExtensionDefines $(LOCAL_DEFINES) $(SIGNAL_DEFINES) $(ULTRIX_DEFINES)
@@ -40,7 +40,7 @@
parse.o menus.o events.o resize.o util.o version.o iconmgr.o \
cursor.o icons.o vdt.o move.o LocPixmap.o
-AllTarget(piewm ssetroot)
+AllTarget(piewm)
SpecialObjectRule(parse.o, vdt.c, '-DPIEWMDIR="$(PIEWMDIR)"')
SpecialObjectRule(vdt.o, vdt.c, $(XLOADIM_DEF))
@@ -51,11 +51,9 @@
depend:: lex.c gram.c deftwmrc.c
ComplexProgramTarget(piewm)
-NormalProgramTarget(ssetroot,ssetroot.o,,$(LOCAL_LIBRARIES),)
MakeDirectories(install,$(TWMDIR))
InstallNonExec(system.twmrc,$(TWMDIR))
-# InstallNamedProg(ssetroot,xsetroot,$(BINDIR))
gram.h gram.c: gram.y
$(YACC) $(YFLAGS) gram.y