openbsd-ports/mail/p5-Mail-Tools/Makefile
2005-04-10 19:12:53 +00:00

31 lines
917 B
Makefile

# $OpenBSD: Makefile,v 1.13 2005/04/10 19:12:53 msf Exp $
COMMENT= "modules for handling mail with perl"
DISTNAME= MailTools-1.67
PKGNAME= p5-Mail-Tools-1.67
CATEGORIES= mail devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= Marc Espie <espie@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
# Build examples as well
post-build:
@cd ${WRKSRC} && for i in examples/*.PL; do perl $$i; done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-MailTools
${INSTALL_SCRIPT} ${WRKSRC}/forwd_demo ${PREFIX}/share/examples/p5-MailTools
${INSTALL_SCRIPT} ${WRKSRC}/rplyto_demo ${PREFIX}/share/examples/p5-MailTools
${INSTALL_SCRIPT} ${WRKSRC}/send_demo ${PREFIX}/share/examples/p5-MailTools
${INSTALL_DATA} ${WRKSRC}/README.demos ${PREFIX}/share/examples/p5-MailTools
.include <bsd.port.mk>