34 lines
1021 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.11 2002/06/09 05:31:47 wilfried Exp $
COMMENT= "modules for handling mail with perl"
2000-06-02 14:15:26 +00:00
DISTNAME= MailTools-1.15
PKGNAME= p5-Mail-Tools-1.15
2000-08-21 02:25:46 +00:00
CATEGORIES= mail devel perl5
NEED_VERSION= 1.496
2002-05-13 23:31:24 +00:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
2000-06-02 14:15:26 +00:00
BUILD_DEPENDS= :p5-libnet-*:net/p5-libnet
RUN_DEPENDS= ${BUILD_DEPENDS}
2000-10-10 00:40:20 +00:00
MAINTAINER= Marc Espie <espie@openbsd.org>
2000-08-21 02:25:46 +00:00
2000-06-02 14:15:26 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-08-21 02:25:46 +00:00
CONFIGURE_STYLE= perl
2000-06-02 14:15:26 +00: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>