aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-08-08 03:17:28 +0800
committervanilla <vanilla@FreeBSD.org>2004-08-08 03:17:28 +0800
commit94d7ad8714fe41048b4cab10b4fe27b7f45575d3 (patch)
tree1e9b7172d16bf1ddf1f1f09aaa47e26af06822dc
parentdf035ff7d93643fe8b4cf25841e67ab2ae3bcb6c (diff)
downloadfreebsd-ports-gnome-94d7ad8714fe41048b4cab10b4fe27b7f45575d3.tar.gz
freebsd-ports-gnome-94d7ad8714fe41048b4cab10b4fe27b7f45575d3.tar.zst
freebsd-ports-gnome-94d7ad8714fe41048b4cab10b4fe27b7f45575d3.zip
Add p5-PerlIO-via-symlink 0.01, symbolic link PerlIO layers.
PR: ports/70044 Submitted by: Rong-En Fan <rafan@infor.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-PerlIO-via-symlink/Makefile28
-rw-r--r--devel/p5-PerlIO-via-symlink/distinfo2
-rw-r--r--devel/p5-PerlIO-via-symlink/pkg-descr7
-rw-r--r--devel/p5-PerlIO-via-symlink/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 96790110d44f..e751780af1fe 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -904,6 +904,7 @@
SUBDIR += p5-Penguin
SUBDIR += p5-Penguin-Easy
SUBDIR += p5-PerlIO-via-dynamic
+ SUBDIR += p5-PerlIO-via-symlink
SUBDIR += p5-PerlMenu
SUBDIR += p5-Pod-Coverage
SUBDIR += p5-Proc-Background
diff --git a/devel/p5-PerlIO-via-symlink/Makefile b/devel/p5-PerlIO-via-symlink/Makefile
new file mode 100644
index 000000000000..c968db828944
--- /dev/null
+++ b/devel/p5-PerlIO-via-symlink/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: devel/p5-PerlIO-via-symlink
+# Date created: Aug 05 2004
+# Whom: Rong-En Fan <rafan@infor.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PerlIO-via-symlink
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/C/CL/CLKAO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= rafan@infor.org
+COMMENT= Symbolic link PerlIO layers
+
+PERL_CONFIGURE= yes
+
+MAN3= PerlIO::via::symlink.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= This program only support perl 5.8.0 or above
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-PerlIO-via-symlink/distinfo b/devel/p5-PerlIO-via-symlink/distinfo
new file mode 100644
index 000000000000..e6877f1f00f5
--- /dev/null
+++ b/devel/p5-PerlIO-via-symlink/distinfo
@@ -0,0 +1,2 @@
+MD5 (PerlIO-via-symlink-0.01.tar.gz) = 504641c4003a1d586e31fa2aa0efe131
+SIZE (PerlIO-via-symlink-0.01.tar.gz) = 15613
diff --git a/devel/p5-PerlIO-via-symlink/pkg-descr b/devel/p5-PerlIO-via-symlink/pkg-descr
new file mode 100644
index 000000000000..e8c9f9bee14e
--- /dev/null
+++ b/devel/p5-PerlIO-via-symlink/pkg-descr
@@ -0,0 +1,7 @@
+The PerlIO layer symlink allows you to create a symbolic link by
+writing to the file handle.
+
+You need to write C"link $name" to the file handle. If the format
+does not match, close will fail with EINVAL.
+
+Currently only writing is supported.
diff --git a/devel/p5-PerlIO-via-symlink/pkg-plist b/devel/p5-PerlIO-via-symlink/pkg-plist
new file mode 100644
index 000000000000..aaf25653643e
--- /dev/null
+++ b/devel/p5-PerlIO-via-symlink/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/PerlIO/via/symlink.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via/symlink/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/PerlIO/via 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PerlIO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via/symlink 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO/via 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PerlIO 2>/dev/null || true