diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-PerlMenu/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-PerlMenu/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-PerlMenu/files/patch-aa | 21 | ||||
-rw-r--r-- | devel/p5-PerlMenu/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-PerlMenu/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-PerlMenu/pkg-plist | 1 |
7 files changed, 55 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9c337cb0..010efc0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -213,6 +213,7 @@ SUBDIR += p5-Parse-RecDescent SUBDIR += p5-Penguin SUBDIR += p5-Penguin-Easy + SUBDIR += p5-PerlMenu SUBDIR += p5-Proc-Simple SUBDIR += p5-ReadLine-Gnu SUBDIR += p5-ReadLine-Perl diff --git a/devel/p5-PerlMenu/Makefile b/devel/p5-PerlMenu/Makefile new file mode 100644 index 0000000..8b4b1e9 --- /dev/null +++ b/devel/p5-PerlMenu/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-PerlMenu +# Date created: August 14, 2000 +# Whom: John Baldwin <jhb@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= PerlMenu +PORTVERSION= 4.0 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/S/SK/SKUNZ +PKGNAMEPREFIX= p5- +DISTNAME= perlmenu.v4.0 + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${MACHINE_ARCH}-freebsd/Curses.pm:${PORTSDIR}/devel/p5-Curses + +USE_PERL5= yes +NO_BUILD= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/perlmenu.pm ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +.include <bsd.port.mk> diff --git a/devel/p5-PerlMenu/distinfo b/devel/p5-PerlMenu/distinfo new file mode 100644 index 0000000..e97ffda --- /dev/null +++ b/devel/p5-PerlMenu/distinfo @@ -0,0 +1 @@ +MD5 (perlmenu.v4.0.tar.gz) = b931859ed581970f3fb05420316b39d3 diff --git a/devel/p5-PerlMenu/files/patch-aa b/devel/p5-PerlMenu/files/patch-aa new file mode 100644 index 0000000..4ccb32a --- /dev/null +++ b/devel/p5-PerlMenu/files/patch-aa @@ -0,0 +1,21 @@ +--- perlmenu.pm.orig Mon Aug 14 13:23:08 2000 ++++ perlmenu.pm Mon Aug 14 13:23:36 2000 +@@ -105,12 +105,12 @@ + # Uncomment these statements if you DON'T have "getcap()" OR + # if the demo doesn't appear to work (there's a bug in some getcap's). + # +-#if ($] >= 5.001) { # Perl5 ONLY! +-#package Perl5::Menu_PL::Compat; # Don't pollute perlmenu.pm namespace +-#require Term::Cap; # Get Tgetent package +-#$term = Tgetent Term::Cap { OSPEED => 9600 }; # Define entry +-#sub perlmenu::getcap { $term->{"_" . shift()} }; # Define local subroutine +-#} ++if ($] >= 5.001) { # Perl5 ONLY! ++package Perl5::Menu_PL::Compat; # Don't pollute perlmenu.pm namespace ++require Term::Cap; # Get Tgetent package ++$term = Tgetent Term::Cap { OSPEED => 9600 }; # Define entry ++sub perlmenu::getcap { $term->{"_" . shift()} }; # Define local subroutine ++} + + # PERL4 ONLY (GETCAP PROBLEMS) + # Uncomment these statements if you DON'T have "getcap()" OR diff --git a/devel/p5-PerlMenu/pkg-comment b/devel/p5-PerlMenu/pkg-comment new file mode 100644 index 0000000..fb07d57 --- /dev/null +++ b/devel/p5-PerlMenu/pkg-comment @@ -0,0 +1 @@ +Perl5 module for displaying menus with Curses diff --git a/devel/p5-PerlMenu/pkg-descr b/devel/p5-PerlMenu/pkg-descr new file mode 100644 index 0000000..9c6873f --- /dev/null +++ b/devel/p5-PerlMenu/pkg-descr @@ -0,0 +1,4 @@ +PerlMenu is a simple module that uses the Curses package to render +menus on the terminal. + +WWW: http://www.ait.iastate.edu/perlmenu/ diff --git a/devel/p5-PerlMenu/pkg-plist b/devel/p5-PerlMenu/pkg-plist new file mode 100644 index 0000000..cc47ab7 --- /dev/null +++ b/devel/p5-PerlMenu/pkg-plist @@ -0,0 +1 @@ +lib/perl5/site_perl/%%PERL_VER%%/perlmenu.pm |