svn commit: r359371 - in head/sysutils/battmond: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu Jun 26 15:14:14 UTC 2014


Author: vanilla
Date: Thu Jun 26 15:14:13 2014
New Revision: 359371
URL: http://svnweb.freebsd.org/changeset/ports/359371
QAT: https://qat.redports.org/buildarchive/r359371/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Added:
  head/sysutils/battmond/files/
  head/sysutils/battmond/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/battmond/Makefile

Modified: head/sysutils/battmond/Makefile
==============================================================================
--- head/sysutils/battmond/Makefile	Thu Jun 26 15:01:39 2014	(r359370)
+++ head/sysutils/battmond/Makefile	Thu Jun 26 15:14:13 2014	(r359371)
@@ -9,11 +9,8 @@ MASTER_SITES=	http://ntarmos.dyndns.org/
 MAINTAINER=	ntarmos at 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>

Added: head/sysutils/battmond/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/battmond/files/patch-Makefile	Thu Jun 26 15:14:13 2014	(r359371)
@@ -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


More information about the svn-ports-head mailing list