e32afb6fea
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
22 lines
563 B
Makefile
22 lines
563 B
Makefile
# $NetBSD: Makefile,v 1.10 2001/03/27 03:20:05 hubertf Exp $
|
|
|
|
DISTNAME= MailTools-1.15
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= mail perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
COMMENT= perl5 modules related to mail applications
|
|
|
|
BUILD_DEPENDS+= p5-Net-1.0703:../../net/p5-Net
|
|
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/.packlist
|
|
|
|
post-patch:
|
|
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|