openbsd-ports/x11/e16keyedit/patches/patch-Makefile
naddy 99573fa2ef Import e16keyedit 0.2.
Submitted by Nick Nauwelaerts <nick@wanadoo.be>.

A graphical frontend which allows you to bind certain actions, be they
enlightenment specific or the running of certain commands, to the keys of your
choosing.
2001-11-15 19:29:10 +00:00

54 lines
1.7 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2001/11/15 19:29:10 naddy Exp $
--- Makefile.orig Thu Mar 23 20:04:16 2000
+++ Makefile Tue Nov 13 19:28:20 2001
@@ -9,25 +9,21 @@ DATA =
EXTRAS =
BUILD = \
-LIB_DIRS = \
- -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
+#LIB_DIRS = \
+# -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
LIBS = \
- `gtk-config --libs` -lgdbm -lgdk_imlib
-CFLAGS = \
- -O -g -D_GNU_SOURCE $(DEVFLAGS)
+ `gtk-config --libs` -lgdk_imlib
+#CFLAGS = \
+# -O -g -D_GNU_SOURCE $(DEVFLAGS)
#CFLAGS = \
# -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
-OPTFLAGS = \
- -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
+#OPTFLAGS = \
+# -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
INCLUDES = \
`gtk-config --cflags` -I..
BIN = e16keyedit
-# configurable stuff
-BINARY_DESTINATION = /usr/local/enlightenment/bin
-DATA_DESTINATION = /usr/local/enlightenment/share
-
# commands to do things
INSTALL = install
MKDIR = mkdir
@@ -92,14 +88,8 @@ clean::
$(RMRF) $(BIN) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut $(DIST) $(DIST).tar $(DIST).tar.gz ./=build ./=install "#"*
# how to install
-install:: e
- @echo
- @echo
- @echo "You don't really want to do this. it doesn't work yet."
- @echo
- @echo
-# for I in $(BIN); do $(INSTALL) -D -m 0775 $$I $(prefix)$(BINARY_DESTINATION)/$$I; done
-# for I in $(DATA); do $(INSTALL) -D -m 0664 $$I $(prefix)$(DATA_DESTINATION)/$$I; done
+install::
+ $(BSD_INSTALL_PROGRAM) $(BIN) $(PREFIX)/bin
# how to make a dist tarball
dist::