mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
Stagify, add LICENSE.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
2eaab4fe0b
commit
ca34b57d9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359781
3 changed files with 19 additions and 6 deletions
|
@ -10,13 +10,8 @@ MASTER_SITES= http://www.ederbs.org/pub/ \
|
||||||
MAINTAINER= freebsduser@paradisegreen.co.uk
|
MAINTAINER= freebsduser@paradisegreen.co.uk
|
||||||
COMMENT= Simple APC UPS Daemon
|
COMMENT= Simple APC UPS Daemon
|
||||||
|
|
||||||
MAN8= upsdaemon.8
|
LICENSE= BSD2CLAUSE
|
||||||
MANCOMPRESSED= no
|
|
||||||
|
|
||||||
USE_RC_SUBR= upsdaemon
|
USE_RC_SUBR= upsdaemon
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-install:
|
|
||||||
@${CAT} ${PKGMESSAGE}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
17
sysutils/upsdaemon/files/patch-Makefile
Normal file
17
sysutils/upsdaemon/files/patch-Makefile
Normal file
|
@ -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
|
|
@ -1,4 +1,5 @@
|
||||||
sbin/upsdaemon
|
sbin/upsdaemon
|
||||||
libexec/upsdaemon/upsdaemon-alerts
|
libexec/upsdaemon/upsdaemon-alerts
|
||||||
libexec/upsdaemon/upsdaemon.sh
|
libexec/upsdaemon/upsdaemon.sh
|
||||||
|
man/man8/upsdaemon.8.gz
|
||||||
@dirrm libexec/upsdaemon
|
@dirrm libexec/upsdaemon
|
||||||
|
|
Loading…
Add table
Reference in a new issue