pkgsrc/sysutils/p5-Mac-AppleScript/Makefile
2020-08-31 18:06:29 +00:00

23 lines
733 B
Makefile

# $NetBSD: Makefile,v 1.15 2020/08/31 18:11:32 wiz Exp $
DISTNAME= Mac-AppleScript-0.04
PKGNAME= p5-${DISTNAME}
PKGREVISION= 11
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mac/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Mac-AppleScript
COMMENT= Perl 5 module to execute applescript commands on OS X
ONLY_FOR_PLATFORM= Darwin-*-*
# lang/perl5/module.mk overrides MakeMaker's OTHERLDFLAGS in MAKE_ENV
# with LDFLAGS value. So we have to add here these switches from
# upstream's Makefile.PL's OTHERFLAGS
LDFLAGS+= -framework AppleScriptKit -framework Carbon
PERL5_PACKLIST= auto/Mac/AppleScript/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"