1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/sysutils/battmond/files/patch-Makefile
Vanilla I. Shu 56aa1ade51 Stagify.
Approved by:	portmgr@ (blanket approval)
2014-06-26 15:14:13 +00:00

18 lines
680 B
Plaintext

--- Makefile.orig 2014-06-26 23:11:34.738471328 +0800
+++ Makefile 2014-06-26 23:11:57.588499251 +0800
@@ -14,10 +14,10 @@ battmond: battmond.c
${CC} ${CFLAGS} battmond.c -o battmond -lutil
install: battmond
- $(INSTALL) -s battmond ${PREFIX}/sbin/battmond
- $(INSTALL) battmond.sh ${PREFIX}/etc/rc.d/battmond
- $(INSTALL) -c battmond.1 ${PREFIX}/man/man1/battmond.1
- gzip -9f ${PREFIX}/man/man1/battmond.1
+ $(INSTALL) -s battmond $(DESTDIR)${PREFIX}/sbin/battmond
+ $(INSTALL) battmond.sh $(DESTDIR)${PREFIX}/etc/rc.d/battmond
+ $(INSTALL) -c battmond.1 $(DESTDIR)${PREFIX}/man/man1/battmond.1
+ gzip -9f $(DESTDIR)${PREFIX}/man/man1/battmond.1
clean:
rm -f battmond