aboutsummaryrefslogblamecommitdiff
path: root/ports-mgmt/mkreadmes/files/patch-Makefile
blob: 39a53be16c32ae80cb687e91ac044171bcb6ffd4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                       
--- ./Makefile.orig	2014-06-23 23:32:51.000000000 -0400
+++ ./Makefile	2014-06-23 23:34:59.000000000 -0400
@@ -8,9 +8,9 @@
 PROGRAM=		mkreadmes
 VERSION=		1.3
 PREFIX?=		/usr/local				# allow user to override install prefix
-BINDIR=			${PREFIX}/sbin
-DATADIR=		${PREFIX}/share/${PROGRAM}
-MANDIR=			${PREFIX}/man/man1
+BINDIR=			${DESTDIR}${PREFIX}/sbin
+DATADIR=		${DESTDIR}${PREFIX}/share/${PROGRAM}
+MANDIR=			${DESTDIR}${PREFIX}/man/man1
 TEMPLATESDIR=	${DATADIR}/Templates
 SRCS=			index.c init.c main.c ${PROGRAM}.c util.c ${PROGRAM}.h
 INCLUDES=		/usr/include