diff options
author | Will Andrews <will@FreeBSD.org> | 2000-08-14 21:23:14 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-08-14 21:23:14 +0000 |
commit | d1e078484fc96da5fec30c9700cbd6ade92eab0e (patch) | |
tree | 61d198e6d80fe68688986b247184f026d41a00f8 /devel/p5-PerlMenu | |
parent | 0dc8b5c2bbcf4aa9987f0bc9bc6a121d380f0ff2 (diff) | |
download | ports-d1e078484fc96da5fec30c9700cbd6ade92eab0e.tar.gz ports-d1e078484fc96da5fec30c9700cbd6ade92eab0e.zip |
Notes
Diffstat (limited to 'devel/p5-PerlMenu')
-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 |
6 files changed, 54 insertions, 0 deletions
diff --git a/devel/p5-PerlMenu/Makefile b/devel/p5-PerlMenu/Makefile new file mode 100644 index 000000000000..8b4b1e919a68 --- /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 000000000000..e97ffda3ca21 --- /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 000000000000..4ccb32ae836d --- /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 000000000000..fb07d5724f6b --- /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 000000000000..9c6873f5bc23 --- /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 000000000000..cc47ab7e89a6 --- /dev/null +++ b/devel/p5-PerlMenu/pkg-plist @@ -0,0 +1 @@ +lib/perl5/site_perl/%%PERL_VER%%/perlmenu.pm |