openbsd-ports/devel/p5-Event/Makefile
2012-08-23 15:00:32 +00:00

33 lines
694 B
Makefile

# $OpenBSD: Makefile,v 1.17 2012/08/23 15:05:15 sthen Exp $
SHARED_ONLY= Yes
COMMENT= event loop processing
MODULES= cpan
DISTNAME= Event-1.20
REVISION= 0
CATEGORIES= devel
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIST= demo
SRCDIR= ${WRKSRC}/${MODCPAN_EXAMPLES_DIST}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/p5-Event
${INSTALL_DATA} ${WRKSRC}/Tutorial.pdf ${PREFIX}/share/doc/p5-Event
${MODCPAN_POST_INSTALL}
${INSTALL_DATA} ${SRCDIR}/* ${MODCPAN_EXAMPLES_DIR}
.include <bsd.port.mk>