32 lines
793 B
Makefile
32 lines
793 B
Makefile
# $OpenBSD: Makefile,v 1.15 2007/09/16 00:17:06 merdely Exp $
|
|
|
|
COMMENT= modules for handling mail with perl
|
|
|
|
MODULES= cpan
|
|
DISTNAME= MailTools-1.74
|
|
PKGNAME= p5-Mail-Tools-1.74
|
|
CATEGORIES= mail devel
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
# Build examples as well
|
|
post-build:
|
|
@cd ${WRKSRC} && for i in examples/*.PL; do perl $$i; done
|
|
|
|
DIR=${PREFIX}/share/examples/p5-Mail-Tools
|
|
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|