1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/gqmpeg/files/patch-aa
Vanilla I. Shu a305fce20e - Fix LIB_DEPENDS to actually used one
- Support install macros

PR:		ports/18046
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-05-28 00:38:20 +00:00

35 lines
954 B
Plaintext

--- Makefile.orig Sat Jul 3 20:39:08 1999
+++ Makefile Thu Apr 13 03:59:10 2000
@@ -1,8 +1,8 @@
-PREFIX=/usr/local
+PREFIX?=/usr/local
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+#GTK_INCLUDE = `gtk-config --cflags`
+#GTK_LIB = `gtk-config --libs`
IMLIB_INCLUDE = `imlib-config --cflags-gdk`
IMLIB_LIB = `imlib-config --libs-gdk`
@@ -15,7 +15,7 @@
#for IRIX
#LDFLAGS = $(GTK_LIB) $(IMLIB_LIB) -laudio
-CC = gcc -Wall
+CC ?= gcc -Wall
GNOME_PREFIX = `gnome-config --prefix`
@@ -119,8 +119,8 @@
$(CC) $(OBJS) -o gqmpeg.static -static $(LDFLAGS)
install: gqmpeg
- install -c gqmpeg $(PREFIX)/bin/gqmpeg
- install -c plugin/gqmpeg-shoutcast-plugin.sh $(PREFIX)/bin/gqmpeg-shoutcast-plugin.sh
+ ${BSD_INSTALL_PROGRAM} gqmpeg $(PREFIX)/bin/gqmpeg
+ ${BSD_INSTALL_SCRIPT} plugin/gqmpeg-shoutcast-plugin.sh $(PREFIX)/bin/gqmpeg-shoutcast-plugin.sh
gnome-install: gqmpeg
install -c gqmpeg $(PREFIX)/bin/gqmpeg