openbsd-ports/mail/p5-Mail-Tools/Makefile

34 lines
830 B
Makefile
Raw Normal View History

2007-09-29 13:56:23 -04:00
# $OpenBSD: Makefile,v 1.16 2007/09/29 17:56:23 simon Exp $
COMMENT= modules for handling mail with perl
2000-06-02 10:15:26 -04:00
MODULES= cpan
2007-09-29 13:56:23 -04:00
DISTNAME= MailTools-1.77
PKGNAME= p5-Mail-Tools-1.77
CATEGORIES= mail devel
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
2000-06-02 10:15:26 -04:00
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
2000-08-20 22:25:46 -04:00
2000-06-02 10:15:26 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-08-20 22:25:46 -04:00
2007-09-29 13:56:23 -04:00
RUN_DEPENDS= ::devel/p5-Time-TimeDate
2000-06-02 10:15:26 -04:00
# Build examples as well
post-build:
2005-04-10 15:12:53 -04:00
@cd ${WRKSRC} && for i in examples/*.PL; do perl $$i; done
2000-06-02 10:15:26 -04:00
DIR=${PREFIX}/share/examples/p5-Mail-Tools
2000-06-02 10:15:26 -04:00
post-install:
${INSTALL_DATA_DIR} ${DIR}
${INSTALL_SCRIPT} ${WRKSRC}/forwd_demo ${DIR}
${INSTALL_SCRIPT} ${WRKSRC}/rplyto_demo ${DIR}
${INSTALL_SCRIPT} ${WRKSRC}/send_demo ${DIR}
${INSTALL_DATA} ${WRKSRC}/README.demos ${DIR}
2000-06-02 10:15:26 -04:00
.include <bsd.port.mk>