openbsd-ports/devel/p5-Event/Makefile

33 lines
694 B
Makefile
Raw Normal View History

2012-08-23 11:00:32 -04:00
# $OpenBSD: Makefile,v 1.17 2012/08/23 15:05:15 sthen Exp $
SHARED_ONLY= Yes
2007-07-02 18:42:27 -04:00
COMMENT= event loop processing
MODULES= cpan
DISTNAME= Event-1.20
2012-08-23 11:00:32 -04:00
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
2012-08-23 11:00:32 -04:00
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>