2010-12-27 06:49:06 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2010/12/27 11:49:06 jasper Exp $
|
2001-05-05 21:45:53 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= modules for handling mail with perl
|
2000-06-02 10:15:26 -04:00
|
|
|
|
2006-11-17 10:08:16 -05:00
|
|
|
MODULES= cpan
|
2010-12-27 06:49:06 -05:00
|
|
|
DISTNAME= MailTools-2.07
|
|
|
|
PKGNAME= p5-Mail-Tools-2.07
|
2006-11-17 10:08:16 -05:00
|
|
|
CATEGORIES= mail devel
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
2010-10-18 15:59:15 -04:00
|
|
|
USE_GROFF = Yes
|
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
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS= devel/p5-Time-TimeDate
|
2007-09-29 13:56:23 -04:00
|
|
|
|
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
|
|
|
|
2006-11-17 10:08:16 -05:00
|
|
|
DIR=${PREFIX}/share/examples/p5-Mail-Tools
|
|
|
|
|
2000-06-02 10:15:26 -04:00
|
|
|
post-install:
|
2006-11-17 10:08:16 -05:00
|
|
|
${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>
|