summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2010-02-18 02:56:04 +0000
committerseb <seb@pkgsrc.org>2010-02-18 02:56:04 +0000
commitd632ab2165b6eec330efa97eba861552b573f164 (patch)
treea1f8a1ef2c75afd9c8af52fef9d75af20693b82b /sysutils
parent2a84ee30f9f01b2d14fb514334eed9eb2c6afdc8 (diff)
downloadpkgsrc-d632ab2165b6eec330efa97eba861552b573f164.tar.gz
Initial import of p5-Mac-AppleScript version 0.04 in the NetBSD
Packages Collection. The Perl 5 module Mac::AppleScript is a simple interface to the OSA scripting stuff.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/p5-Mac-AppleScript/DESCR2
-rw-r--r--sysutils/p5-Mac-AppleScript/Makefile24
-rw-r--r--sysutils/p5-Mac-AppleScript/distinfo5
3 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/p5-Mac-AppleScript/DESCR b/sysutils/p5-Mac-AppleScript/DESCR
new file mode 100644
index 00000000000..af444b9c2e5
--- /dev/null
+++ b/sysutils/p5-Mac-AppleScript/DESCR
@@ -0,0 +1,2 @@
+The Perl 5 module Mac::AppleScript is a simple interface to the OSA
+scripting stuff.
diff --git a/sysutils/p5-Mac-AppleScript/Makefile b/sysutils/p5-Mac-AppleScript/Makefile
new file mode 100644
index 00000000000..ac474bc1c14
--- /dev/null
+++ b/sysutils/p5-Mac-AppleScript/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/18 02:56:04 seb Exp $
+
+DISTNAME= Mac-AppleScript-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mac/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Mac-AppleScript/
+COMMENT= Perl 5 module to execute applescript commands on OS X
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+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"
diff --git a/sysutils/p5-Mac-AppleScript/distinfo b/sysutils/p5-Mac-AppleScript/distinfo
new file mode 100644
index 00000000000..c56a9008891
--- /dev/null
+++ b/sysutils/p5-Mac-AppleScript/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/02/18 02:56:04 seb Exp $
+
+SHA1 (Mac-AppleScript-0.04.tar.gz) = 5f1d93e323b624ab38b2688b1c7baebc990976b4
+RMD160 (Mac-AppleScript-0.04.tar.gz) = 6be9c674149e5647299f0523839d6db6f8b2b323
+Size (Mac-AppleScript-0.04.tar.gz) = 3420 bytes