diff options
author | tv <tv> | 1998-07-13 16:55:58 +0000 |
---|---|---|
committer | tv <tv> | 1998-07-13 16:55:58 +0000 |
commit | 4420b310c4e87024a00d3b6de811476bbbde1d5f (patch) | |
tree | fd5b082758ce292733e116556f2dd7cab3a5a6f4 /devel | |
parent | de43d6cc5c53525598e4a7f4ca8ac636452af136 (diff) | |
download | pkgsrc-4420b310c4e87024a00d3b6de811476bbbde1d5f.tar.gz |
Add and activate p5-Curses and p5-PV pkgs.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 6 | ||||
-rw-r--r-- | devel/p5-Curses/Makefile | 23 | ||||
-rw-r--r-- | devel/p5-Curses/patches/patch-aa | 20 | ||||
-rw-r--r-- | devel/p5-Curses/patches/patch-ab | 21 | ||||
-rw-r--r-- | devel/p5-Curses/pkg/PLIST | 11 | ||||
-rw-r--r-- | devel/p5-PV/Makefile | 15 | ||||
-rw-r--r-- | devel/p5-PV/pkg/PLIST | 1 |
7 files changed, 54 insertions, 43 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6e6adeb464c..6436e908159 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 1998/07/13 01:53:49 tv Exp $ +# $NetBSD: Makefile,v 1.27 1998/07/13 16:55:58 tv Exp $ # FreeBSD Id: Makefile,v 1.78 1997/10/01 08:32:59 cracauer Exp # @@ -53,7 +53,7 @@ # SUBDIR += p5-BSD-Resource # SUBDIR += p5-C-Scan # SUBDIR += p5-ConfigReader -# SUBDIR += p5-Curses + SUBDIR += p5-Curses SUBDIR += p5-Data-Dumper # SUBDIR += p5-Data-Flow # SUBDIR += p5-Data-ShowTable @@ -71,7 +71,7 @@ # SUBDIR += p5-Include # SUBDIR += p5-IniConf # SUBDIR += p5-Ioctl -# SUBDIR += p5-PV + SUBDIR += p5-PV # SUBDIR += p5-Penguin # SUBDIR += p5-Penguin-Easy # SUBDIR += p5-Proc-Simple diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile index 09f389acce5..aa29dd25a33 100644 --- a/devel/p5-Curses/Makefile +++ b/devel/p5-Curses/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-Curses -# Version required: 1.02 -# Date created: October 17th 1996 -# Whom: James FitzGibbon <jfitz@FreeBSD.org> -# -# $Id: Makefile,v 1.1.1.1 1998/07/13 15:50:36 tv Exp $ +# $NetBSD: Makefile,v 1.2 1998/07/13 16:55:59 tv Exp $ +# FreeBSD Id: Makefile,v 1.8 1998/04/04 13:58:26 vanilla Exp # DISTNAME= Curses-1.02 @@ -12,17 +8,14 @@ CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Curses -MAINTAINER= jfitz@FreeBSD.ORG - -USE_PERL5= YES +MAINTAINER= packages@netbsd.org -MAN3= Curses.3 -MANPREFIX= ${PREFIX}/lib/perl5 +DEPENDS= ncurses-1.9.9g:../../devel/ncurses -pre-configure: - @ ln -s ${WRKSRC}/hints/c-freebsd.ncurses.h ${WRKSRC}/c-config.h +USE_PERL5= YES do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL + @${LN} -sf ${WRKSRC}/hints/c-netbsd.ncurses.h ${WRKSRC}/c-config.h + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Curses/patches/patch-aa b/devel/p5-Curses/patches/patch-aa index 8c267ee536e..d912b0833ba 100644 --- a/devel/p5-Curses/patches/patch-aa +++ b/devel/p5-Curses/patches/patch-aa @@ -1,11 +1,11 @@ ---- Makefile.PL.orig Tue Feb 17 06:50:19 1998 -+++ Makefile.PL Tue Mar 17 14:49:11 1998 -@@ -66,7 +66,7 @@ - 'freebsd' => - { 'bsd' => [ '' => '-lcurses -ltermcap' ], - 'ncurses' => [ '' => '-lncurses' ], -- 'default' => 'bsd' -+ 'default' => 'ncurses' +--- Makefile.PL.orig Mon Feb 16 17:50:19 1998 ++++ Makefile.PL Mon Jul 13 12:17:51 1998 +@@ -76,7 +76,7 @@ + 'ncurses' => [ '-I/usr/include/ncurses' => '-lncurses' ], + 'default' => 'ncurses' }, - 'hpux' => [ '' => '-lcurses -ltermcap' ], - 'irix' => [ '' => '-lcurses -ltermcap' ], ## +- 'netbsd' => [ '' => '-lcurses -ltermcap' ], ++ 'netbsd' => [ "-I$ENV{'PREFIX'}/include" => "-L$ENV{'PREFIX'}/lib -lncurses" ], + 'next' => [ '' => '-lcurses -ltermcap' ], + 'os2' => + { 'bsd' => [ '' => '-lcurses -ltermcap' ], diff --git a/devel/p5-Curses/patches/patch-ab b/devel/p5-Curses/patches/patch-ab new file mode 100644 index 00000000000..3a0fc1ef5ca --- /dev/null +++ b/devel/p5-Curses/patches/patch-ab @@ -0,0 +1,21 @@ +--- /dev/null Mon Jul 13 12:28:43 1998 ++++ hints/c-netbsd.ncurses.h Mon Jul 13 12:33:32 1998 +@@ -0,0 +1,18 @@ ++/* Hint file for the NetBSD platform, ncurses version of libcurses. ++ * ++ * If this configuration doesn't work, look at the file "c-none.h" ++ * for how to set the configuration options. ++ */ ++ ++/* These hints thanks to "Andrew V. Stesin" <stesin@elvisti.kiev.ua> */ ++ ++#include <ncurses.h> ++#undef instr ++ ++#define C_LONGNAME ++#define C_LONG0ARGS ++#undef C_LONG2ARGS ++ ++#define C_TOUCHLINE ++#define C_TOUCH3ARGS ++#undef C_TOUCH4ARGS diff --git a/devel/p5-Curses/pkg/PLIST b/devel/p5-Curses/pkg/PLIST index a18d6b18eae..3a58834d9bb 100644 --- a/devel/p5-Curses/pkg/PLIST +++ b/devel/p5-Curses/pkg/PLIST @@ -1,6 +1,7 @@ -lib/perl5/man/man3/Curses.3.gz +@comment $NetBSD: PLIST,v 1.2 1998/07/13 16:55:59 tv Exp $ +lib/perl5/man/man3/Curses.3 lib/perl5/site_perl/Curses.pm -lib/perl5/site_perl/i386-freebsd/auto/Curses/Curses.bs -lib/perl5/site_perl/i386-freebsd/auto/Curses/Curses.so -lib/perl5/site_perl/i386-freebsd/auto/Curses/.packlist -@dirrm lib/perl5/site_perl/i386-freebsd/auto/Curses +lib/perl5/site_perl/${MACHINE_ARCH}-netbsd/auto/Curses/Curses.bs +lib/perl5/site_perl/${MACHINE_ARCH}-netbsd/auto/Curses/Curses.so +lib/perl5/site_perl/${MACHINE_ARCH}-netbsd/auto/Curses/.packlist +@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-netbsd/auto/Curses diff --git a/devel/p5-PV/Makefile b/devel/p5-PV/Makefile index fcd11d21fc2..592ad48e5c9 100644 --- a/devel/p5-PV/Makefile +++ b/devel/p5-PV/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: p5-PV -# Version required: 1.0 -# Date created: April 18th 1997 -# Whom: James FitzGibbon <jfitz@FreeBSD.org> -# -# $Id: Makefile,v 1.1.1.1 1998/07/13 15:51:32 tv Exp $ +# $NetBSD: Makefile,v 1.2 1998/07/13 16:55:59 tv Exp $ +# FreeBSD Id: Makefile,v 1.4 1997/06/24 18:43:28 jfitz Exp # DISTNAME= perlvision @@ -13,9 +9,9 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= PV EXTRACT_SUFX= .tgz -MAINTAINER= jfitz@FreeBSD.ORG +MAINTAINER= packages@netbsd.org -RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/Curses.pm:${PORTSDIR}/devel/p5-Curses +RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/Curses.pm:../../devel/p5-Curses USE_PERL5= YES @@ -23,8 +19,7 @@ NO_WRKSUBDIR= YES NO_BUILD= YES do-install: - ${MKDIR} -p -m 755 ${PREFIX}/lib/perl5/site_perl ${INSTALL_DATA} ${WRKDIR}/PV.pm ${PREFIX}/lib/perl5/site_perl ${INSTALL_DATA} ${WRKDIR}/PerlVision.doc ${PREFIX}/lib/perl5/site_perl -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-PV/pkg/PLIST b/devel/p5-PV/pkg/PLIST index 2726f0a9905..ff1dfa97a20 100644 --- a/devel/p5-PV/pkg/PLIST +++ b/devel/p5-PV/pkg/PLIST @@ -1,2 +1,3 @@ +@comment $NetBSD: PLIST,v 1.2 1998/07/13 16:55:59 tv Exp $ lib/perl5/site_perl/PV.pm lib/perl5/site_perl/PerlVision.doc |