aboutsummaryrefslogtreecommitdiff
path: root/sysutils/upsd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 21:01:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 21:01:38 +0000
commitd0426e3b88203987d9fb15d4495926afde50a689 (patch)
tree1bd48b6dddbaeb66df90168a76b6f4f155aa6145 /sysutils/upsd
parent63235016043b7fe6dbd5bddf9d5ebf84390554d9 (diff)
downloadports-d0426e3b88203987d9fb15d4495926afde50a689.tar.gz
ports-d0426e3b88203987d9fb15d4495926afde50a689.zip
Notes
Diffstat (limited to 'sysutils/upsd')
-rw-r--r--sysutils/upsd/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysutils/upsd/Makefile b/sysutils/upsd/Makefile
index da1251eb5452..fc66a35e4347 100644
--- a/sysutils/upsd/Makefile
+++ b/sysutils/upsd/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: upsd
-# Date created: 11 Jul 1996
-# Whom: alexis
-#
+# Created by: alexis
# $FreeBSD$
-#
PORTNAME= upsd
PORTVERSION= 2.0.1.6
@@ -21,6 +17,7 @@ PLIST_FILES= sbin/upsd etc/upsd.conf etc/rc.d/upsd.sh
pre-build:
@${MV} ${WRKSRC}/config.h ${WRKSRC}/conf.h.orig
@${SED} -e "s!@prefix@!${PREFIX}!g" ${WRKSRC}/conf.h.orig > ${WRKSRC}/conf.h
+ @${REINPLACE_CMD} -e 's/NOMAN/NO_MAN/g' ${WRKSRC}/Makefile
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/upsd.sh ]; then \