openbsd-ports/net/mon/client/Makefile
pea bdbed16191 Change PKGNAME and add @pkgpath to handle the old module that
was in sysutils/p5-Mon.
Bump pkgname.

ok ajacoutot@
2009-11-11 16:46:43 +00:00

28 lines
676 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/11/11 16:46:43 pea Exp $
COMMENT = perl module for mon
DISTNAME = mon-client-${V}
PKGNAME = p5-Monp1
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>