2001-01-07 16:55:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2001/01/07 21:55:13 avsm Exp $
|
2000-06-02 10:15:26 -04:00
|
|
|
|
2001-01-07 16:55:13 -05:00
|
|
|
DISTNAME= MailTools-1.15
|
|
|
|
PKGNAME= p5-Mail-Tools-1.15
|
2000-08-20 22:25:46 -04:00
|
|
|
CATEGORIES= mail devel perl5
|
2001-01-07 16:55:13 -05:00
|
|
|
NEED_VERSION= 1.348
|
2000-06-02 10:15:26 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
2000-08-20 22:25:46 -04:00
|
|
|
MASTER_SITE_SUBDIR= Mail
|
2000-06-02 10:15:26 -04:00
|
|
|
|
2001-01-07 16:55:13 -05:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/perl5/site_perl/Net/SMTP.pm::net/p5-libnet
|
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
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
2000-06-02 10:15:26 -04:00
|
|
|
|
|
|
|
# Build examples as well
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC} && for i in bin/*.PL; do perl $$i; done
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-MailTools
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/forwd_demo ${PREFIX}/share/examples/p5-MailTools
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/rplyto_demo ${PREFIX}/share/examples/p5-MailTools
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/send_demo ${PREFIX}/share/examples/p5-MailTools
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.demos ${PREFIX}/share/examples/p5-MailTools
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|