aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2005-12-08 09:31:45 +0000
committerAnton Berezin <tobez@FreeBSD.org>2005-12-08 09:31:45 +0000
commit4c28441c5df27936a5cfd601f428d5df777f07ce (patch)
tree26d59d506d386691b769cf2c12a08e60495d00a0
parent39e0053cb09f17f2f70fb0669a569f4ffe8b885a (diff)
downloadports-4c28441c5df27936a5cfd601f428d5df777f07ce.tar.gz
ports-4c28441c5df27936a5cfd601f428d5df777f07ce.zip
Notes
-rw-r--r--lang/Makefile1
-rw-r--r--lang/p5-Interpolation/Makefile31
-rw-r--r--lang/p5-Interpolation/distinfo3
-rw-r--r--lang/p5-Interpolation/pkg-descr16
-rw-r--r--lang/p5-Interpolation/pkg-plist3
5 files changed, 54 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 58acbb43eb1e..e87735384bad 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -166,6 +166,7 @@
SUBDIR += p5-Error
SUBDIR += p5-Expect
SUBDIR += p5-F77
+ SUBDIR += p5-Interpolation
SUBDIR += p5-JavaScript-SpiderMonkey
SUBDIR += p5-JavaScript-Squish
SUBDIR += p5-List-MoreUtils
diff --git a/lang/p5-Interpolation/Makefile b/lang/p5-Interpolation/Makefile
new file mode 100644
index 000000000000..e8cc67c35ed8
--- /dev/null
+++ b/lang/p5-Interpolation/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: lang/p5-Interpolation
+# Date created: 08 December 2005
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Interpolation
+PORTVERSION= 0.70
+CATEGORIES= lang perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/J/JE/JENDA
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Implement arbitrary string interpolation semantics for Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Interpolation.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/p5-Interpolation/distinfo b/lang/p5-Interpolation/distinfo
new file mode 100644
index 000000000000..661fdfad9360
--- /dev/null
+++ b/lang/p5-Interpolation/distinfo
@@ -0,0 +1,3 @@
+MD5 (Interpolation-0.70.tar.gz) = de4f1382398c9397db99458534c4a197
+SHA256 (Interpolation-0.70.tar.gz) = c7334cd34bf6da9fa7aaaf0b8f8426523629a50aa204b518ae2f94d298b2d7de
+SIZE (Interpolation-0.70.tar.gz) = 10803
diff --git a/lang/p5-Interpolation/pkg-descr b/lang/p5-Interpolation/pkg-descr
new file mode 100644
index 000000000000..78eea6a15f8d
--- /dev/null
+++ b/lang/p5-Interpolation/pkg-descr
@@ -0,0 +1,16 @@
+Beginners always want to write this:
+
+ print "The sum of three and four is: 3+4";
+
+And they want the 3+4 part to be evaluated, so that it prints this:
+
+ The sum of three and four is: 7
+
+Of course, it's a double-quoted string, so it's not evaluated. The only
+things that are evaluated in double-quoted strings are variable
+references.
+
+There are solutions to this, but most of them are ugly. This module is
+less ugly.
+
+WWW: http://search.cpan.org/dist/Interpolation/
diff --git a/lang/p5-Interpolation/pkg-plist b/lang/p5-Interpolation/pkg-plist
new file mode 100644
index 000000000000..0ed704d7d2a5
--- /dev/null
+++ b/lang/p5-Interpolation/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/Interpolation.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Interpolation/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Interpolation 2>/dev/null || true