1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Fix build on current

This commit is contained in:
Baptiste Daroussin 2013-05-03 21:01:38 +00:00
parent 6323501604
commit d0426e3b88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317253

View File

@ -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 \