1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/encompass/files/patch-aa
Maxim Sobolev 3ce147e0c0 Unbroke the port:
- update md5 (distfile has been re-rolled);
- make it working with glibwww instead of glibwww2.
2000-09-15 06:18:26 +00:00

45 lines
1.8 KiB
Plaintext

--- Makefile.orig Fri Aug 25 09:40:37 2000
+++ Makefile Fri Sep 15 08:56:07 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`
-prefix = `gnome-config --prefix`
+LIBS = `$(X11BASE)/bin/gnome-config --libs gtk gnome gnomeui gtkhtml glibwww oaf` \
+ `$(LOCALBASE)/bin/libwww-config --libs`
+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 \