diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-26 15:14:13 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-26 15:14:13 +0000 |
commit | 56aa1ade51e7b68a59fb5a0903f6b9a7d0fc4f00 (patch) | |
tree | b2ccff23351802ee3ef79a33a73ff11a2865e3a4 /sysutils/battmond | |
parent | 3e1817888eaa242dc0c996ed2196f46c7afff378 (diff) | |
download | ports-56aa1ade51e7b68a59fb5a0903f6b9a7d0fc4f00.tar.gz ports-56aa1ade51e7b68a59fb5a0903f6b9a7d0fc4f00.zip |
Notes
Diffstat (limited to 'sysutils/battmond')
-rw-r--r-- | sysutils/battmond/Makefile | 7 | ||||
-rw-r--r-- | sysutils/battmond/files/patch-Makefile | 17 |
2 files changed, 19 insertions, 5 deletions
diff --git a/sysutils/battmond/Makefile b/sysutils/battmond/Makefile index 6e8818317bf7..738e21ea6074 100644 --- a/sysutils/battmond/Makefile +++ b/sysutils/battmond/Makefile @@ -9,11 +9,8 @@ MASTER_SITES= http://ntarmos.dyndns.org/Software/FreeBSD/ MAINTAINER= ntarmos@cs.uoi.gr COMMENT= A daemon monitoring the battery level of ACPI-enabled laptops -MAN1= battmond.1 -MANCOMPRESSED= yes - PLIST_FILES= sbin/battmond \ - etc/rc.d/battmond + etc/rc.d/battmond \ + man/man1/battmond.1.gz -NO_STAGE= yes .include <bsd.port.mk> diff --git a/sysutils/battmond/files/patch-Makefile b/sysutils/battmond/files/patch-Makefile new file mode 100644 index 000000000000..08a0654d330d --- /dev/null +++ b/sysutils/battmond/files/patch-Makefile @@ -0,0 +1,17 @@ +--- 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 |