summaryrefslogtreecommitdiffstats
path: root/x11/deskpaint/files/patch-Makefile
blob: b220bac6777308abc53bf14a158aaa6bcdeaeb80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Makefile.orig	2009-10-22 14:19:16.000000000 +0800
+++ Makefile	2014-01-09 21:39:59.000000000 +0800
@@ -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 $(DESTDIR)$(prefix)/bin
OpenPOWER on IntegriCloud