openbsd-ports/net/mon/client/Makefile
pea 80c31b549a ..and bump PKGNAME
No cookies for me today (thx jasper@ and ajacoutot@)
2009-11-10 15:10:00 +00:00

29 lines
720 B
Makefile

# $OpenBSD: Makefile,v 1.2 2009/11/10 15:10:00 pea Exp $
COMMENT = perl module for mon
DISTNAME = mon-client-${V}
# To avoid the name p5-mon-client-${V}
PKGNAME = ${DISTNAME}p0
MODULES = cpan
DISTFILES = mon-client-${V}.tar.gz \
mon-${V}.tar.gz
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mon/
${INSTALL_SCRIPT} ${WRKDIR}/mon-${V}/clients/mon.cgi \
${PREFIX}/lib/mon/mon.cgi
${INSTALL_SCRIPT} ${WRKDIR}/mon-${V}/clients/monshow \
${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/mon-${V}/clients/moncmd \
${PREFIX}/bin/
${INSTALL_MAN} ${WRKDIR}/mon-${V}/doc/moncmd.1 \
${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKDIR}/mon-${V}/doc/monshow.1 \
${PREFIX}/man/man1/
.include <bsd.port.mk>