Stagify, add LICENSE.
Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
2eaab4fe0b
commit
ca34b57d9b
@ -10,13 +10,8 @@ MASTER_SITES= http://www.ederbs.org/pub/ \
|
||||
MAINTAINER= freebsduser@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>
|
||||
|
||||
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
|
||||
libexec/upsdaemon/upsdaemon-alerts
|
||||
libexec/upsdaemon/upsdaemon.sh
|
||||
man/man8/upsdaemon.8.gz
|
||||
@dirrm libexec/upsdaemon
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user