openbsd-ports/net/mon/client/Makefile
2010-07-13 21:08:00 +00:00

29 lines
694 B
Makefile

# $OpenBSD: Makefile,v 1.5 2010/07/13 21:08:00 sthen Exp $
COMMENT = perl module for mon
DISTNAME = mon-client-${V}
PKGNAME = p5-Mon-${V}
REVISION = 2
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>