svn commit: r359781 - in head/sysutils/upsdaemon: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sun Jun 29 16:06:34 UTC 2014
Author: vanilla
Date: Sun Jun 29 16:06:33 2014
New Revision: 359781
URL: http://svnweb.freebsd.org/changeset/ports/359781
QAT: https://qat.redports.org/buildarchive/r359781/
Log:
Stagify, add LICENSE.
Approved by: portmgr@ (blanket approval)
Added:
head/sysutils/upsdaemon/files/patch-Makefile (contents, props changed)
Modified:
head/sysutils/upsdaemon/Makefile
head/sysutils/upsdaemon/pkg-plist
Modified: head/sysutils/upsdaemon/Makefile
==============================================================================
--- head/sysutils/upsdaemon/Makefile Sun Jun 29 15:58:26 2014 (r359780)
+++ head/sysutils/upsdaemon/Makefile Sun Jun 29 16:06:33 2014 (r359781)
@@ -10,13 +10,8 @@ MASTER_SITES= http://www.ederbs.org/pub/
MAINTAINER= freebsduser at paradisegreen.co.uk
COMMENT= Simple APC UPS Daemon
-MAN8= upsdaemon.8
-MANCOMPRESSED= no
+LICENSE= BSD2CLAUSE
USE_RC_SUBR= upsdaemon
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
Added: head/sysutils/upsdaemon/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/upsdaemon/files/patch-Makefile Sun Jun 29 16:06:33 2014 (r359781)
@@ -0,0 +1,17 @@
+--- Makefile.orig 2014-06-30 00:03:09.754282546 +0800
++++ Makefile 2014-06-30 00:03:37.920281904 +0800
+@@ -36,10 +36,10 @@ all: ./src/upsdaemon.c
+ ${CC} ${CFLAGS} -o ./upsdaemon ./src/upsdaemon.c
+
+ install:
+- ${BSD_INSTALL_PROGRAM} ./upsdaemon ${SBINDIR}
+- ${BSD_INSTALL_MAN} ./doc/upsdaemon.8 ${MANDIR}
+- mkdir -p ${SCRIPTDIR}
+- (cd scripts; for i in *; do ${BSD_INSTALL_SCRIPT} $$i ${SCRIPTDIR}; done; exit 0;)
++ ${BSD_INSTALL_PROGRAM} ./upsdaemon $(DESTDIR)${SBINDIR}
++ ${BSD_INSTALL_MAN} ./doc/upsdaemon.8 $(DESTDIR)${MANDIR}
++ mkdir -p $(DESTDIR)${SCRIPTDIR}
++ (cd scripts; for i in *; do ${BSD_INSTALL_SCRIPT} $$i $(DESTDIR)${SCRIPTDIR}; done; exit 0;)
+
+ clean:
+ rm -f ./upsdaemon
Modified: head/sysutils/upsdaemon/pkg-plist
==============================================================================
--- head/sysutils/upsdaemon/pkg-plist Sun Jun 29 15:58:26 2014 (r359780)
+++ head/sysutils/upsdaemon/pkg-plist Sun Jun 29 16:06:33 2014 (r359781)
@@ -1,4 +1,5 @@
sbin/upsdaemon
libexec/upsdaemon/upsdaemon-alerts
libexec/upsdaemon/upsdaemon.sh
+man/man8/upsdaemon.8.gz
@dirrm libexec/upsdaemon
More information about the svn-ports-all
mailing list