Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 15:14:14 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359371 - in head/sysutils/battmond: . files
Message-ID:  <201406261514.s5QFEEsa045084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261514.s5QFEEsa045084>