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

36 lines
853 B
Makefile
Raw Normal View History

2008-11-19 05:47:26 -05:00
# $OpenBSD: Makefile,v 1.18 2008/11/19 10:47:26 pea Exp $
COMMENT= modules for handling mail with perl
2000-06-02 10:15:26 -04:00
MODULES= cpan
2008-11-19 05:47:26 -05:00
DISTNAME= MailTools-2.04
PKGNAME= p5-Mail-Tools-2.04
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
2008-11-19 05:47:26 -05:00
MAKE_ENV+= TEST_POD=Yes
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>