mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
26 lines
712 B
Plaintext
26 lines
712 B
Plaintext
--- Makefile.orig Wed Aug 30 09:35:43 2000
|
|
+++ Makefile Thu Sep 14 09:54:48 2000
|
|
@@ -1,7 +1,7 @@
|
|
-GCC = gcc
|
|
-PREFIX=/usr/local
|
|
-CFLAGS = -I/usr/lib/glib/include -I/usr/X11R6/include
|
|
-LIBS = -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
|
|
+GCC = ${CC}
|
|
+PREFIX?=/usr/local
|
|
+CFLAGS += `${GTK_CONFIG} --cflags`
|
|
+LIBS = `${GTK_CONFIG} --libs`
|
|
VERSION = 0.4
|
|
all : gthemeswitch
|
|
|
|
@@ -12,8 +12,8 @@
|
|
-rm gthemeswitch *~
|
|
install: all
|
|
|
|
- install -c gthemeswitch ${PREFIX}/bin
|
|
- install -c switch ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_PROGRAM} gthemeswitch ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_SCRIPT} switch ${PREFIX}/bin
|
|
|
|
dist: clean
|
|
rm -rf /tmp/gtk-theme-switch-$(VERSION)
|