mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
45 lines
1.9 KiB
Plaintext
45 lines
1.9 KiB
Plaintext
--- Makefile.orig Fri Aug 4 03:36:56 2000
|
|
+++ Makefile Fri Aug 4 10:14:58 2000
|
|
@@ -1,11 +1,11 @@
|
|
-CC = gcc
|
|
+#CC = gcc
|
|
RM = rm -rf
|
|
-CFLAGS = -g `gnome-config --cflags gtk gnome gnomeui gtkhtml glibwww oaf` \
|
|
- `libwww-config --cflags`
|
|
+CFLAGS += `$(X11BASE)/bin/gnome-config --cflags gtk gnome gnomeui gtkhtml glibwww oaf` \
|
|
+ `$(LOCALBASE)/bin/libwww-config --cflags`
|
|
LDFLAGS =
|
|
-LIBS = `gnome-config --libs gtk gnome gnomeui gtkhtml glibwww oaf` \
|
|
- `libwww-config --libs` `gconf-config --libs gconf`
|
|
-prefix = `gnome-config --prefix`
|
|
+LIBS = `$(X11BASE)/bin/gnome-config --libs gtk gnome gnomeui gtkhtml glibwww oaf` \
|
|
+ `$(LOCALBASE)/bin/libwww-config --libs` `$(X11BASE)/bin/gconf-config --libs gconf`
|
|
+prefix = $(PREFIX)
|
|
INSTALL = $(prefix)/bin/install -c
|
|
exec_prefix = ${prefix}
|
|
bindir = $(exec_prefix)/bin
|
|
@@ -18,13 +18,16 @@
|
|
all: encompass
|
|
|
|
install: all
|
|
- strip encompass
|
|
- $(INSTALL) encompass $(bindir)/encompass
|
|
- cp -rf ../encompass.desktop $(prefix)/share/gnome/apps/Internet/encompass.desktop
|
|
- cp -rf ../pixmaps/ $(prefix)/share/
|
|
- cp -rf ../help/ $(prefix)/share/gnome/
|
|
- cp -rf ../sounds/ $(prefix)/share/
|
|
- cp -rf ../encompass.soundlist /etc/sound/events/
|
|
+ $(BSD_INSTALL_PROGRAM) encompass $(bindir)/encompass
|
|
+ $(BSD_INSTALL_DATA) ../encompass.desktop $(prefix)/share/gnome/apps/Internet/encompass.desktop
|
|
+ $(MKDIR) $(prefix)/share/gnome/pixmaps/encompass
|
|
+ $(BSD_INSTALL_DATA) ../pixmaps/encompass.png $(prefix)/share/gnome/pixmaps/
|
|
+ $(BSD_INSTALL_DATA) ../pixmaps/encompass/* $(prefix)/share/gnome/pixmaps/encompass/
|
|
+ $(MKDIR) $(prefix)/share/gnome/help/encompass/C
|
|
+ $(BSD_INSTALL_DATA) ../help/encompass/C/* $(prefix)/share/gnome/help/encompass/C/
|
|
+ $(MKDIR) $(prefix)/share/gnome/sounds/encompass
|
|
+ $(BSD_INSTALL_DATA) ../sounds/encompass/* $(prefix)/share/gnome/sounds/encompass/
|
|
+ $(BSD_INSTALL_DATA) ../encompass.soundlist $(prefix)/etc/sound/events/
|
|
|
|
uninstall:
|
|
$(RM) $(bindir)/encompass \
|