openbsd-ports/sysutils/symon/Makefile
ajacoutot c4096e6659 Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:16:56 +00:00

56 lines
1.1 KiB
Makefile

COMMENT-main= active host monitoring tool
COMMENT-mux= symon data gatherer
V= 2.88
DISTNAME= symon-$V
WRKDIST= ${WRKDIR}/symon
PKGNAME-main= ${DISTNAME}
FULLPKGNAME-mux= symux-$V
REVISION-main= 7
REVISION-mux= 5
CATEGORIES= sysutils net
HOMEPAGE= http://www.xs4all.nl/~wpd/symon
# BSD
PERMIT_PACKAGE= Yes
WANTLIB-main= c
WANTLIB-mux= c fontconfig pthread rrd
MASTER_SITES= ${HOMEPAGE}/philes/
MULTI_PACKAGES= -main -mux
MODULES= perl
LIB_DEPENDS-mux= net/rrdtool
NO_TEST= Yes
MAKE_ENV= CLIENTDIR="${P5SITE}" \
LIBS="-L${X11BASE}/lib" \
MANDIR="man" \
SHRDIR="share/examples/symon"
.ifdef DEBUG
# avoid stripping the binaries
MAKE_ENV+= DEBUG=1
.endif
# XXX disable pf queue support until it can be updated for new PF queues
post-patch:
rm ${WRKSRC}/platform/OpenBSD/sm_pfq.c
post-build:
cd ${WRKSRC}/client && \
pod2man SymuxClient.pm > SymuxClient.pm.tmp && \
mv SymuxClient.pm.tmp SymuxClient.3p
post-install:
mv ${PREFIX}/${P5SITE}/getsymonitem.pl ${PREFIX}/share/examples/symon/
rm ${PREFIX}/${P5SITE}/SymuxClient.0
${INSTALL_MAN} ${WRKSRC}/client/SymuxClient.3p ${PREFIX}/man/man3p/
.include <bsd.port.mk>