1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/x11/deskpaint/files/patch-Makefile
Jason Helfman 9a47b56f0a - Update to 3.1
PR:	ports/165157
Submitted by: segin2005 at gmail.com
2012-02-16 05:57:32 +00:00

17 lines
383 B
Plaintext

--- Makefile.orig 2009-10-22 02:19:16.000000000 -0400
+++ Makefile 2012-02-14 19:03:52.000000000 -0500
@@ -1,9 +1,10 @@
-prefix = /usr/local
-XROOT = /usr/X11R6
-CC = cc
+prefix = ${PREFIX}
+XROOT = ${LOCALBASE}
CFLAGS += -lX11 -I$(XROOT)/include -L$(XROOT)/lib
all:
$(CC) $(CFLAGS) *.c -o deskpaint
+install:
+ ${BSD_INSTALL_PROGRAM} -s deskpaint $(prefix)/bin