1995-04-17 06:02:34 +00:00
|
|
|
# New ports collection makefile for: perl5
|
|
|
|
# Date created: 16 April 1995
|
|
|
|
# Whom: markm
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1995-04-17 06:02:34 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= perl
|
2001-03-22 15:17:46 +00:00
|
|
|
PORTVERSION= ${PERL_VER}
|
2004-02-19 09:40:50 +00:00
|
|
|
PORTREVISION= 5
|
1997-04-20 13:53:29 +00:00
|
|
|
CATEGORIES= lang devel perl5
|
2002-05-20 00:03:07 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
2002-07-21 17:09:12 +00:00
|
|
|
${MASTER_SITE_LOCAL:S/$/:local/} \
|
|
|
|
http://www.tobez.org/download/port-mirrors/lang/perl58/:local
|
2002-05-20 00:03:07 +00:00
|
|
|
MASTER_SITE_SUBDIR= ../../src \
|
2002-07-21 17:09:12 +00:00
|
|
|
tobez/:local ./:local
|
2002-05-20 00:03:07 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
2003-10-27 19:48:03 +00:00
|
|
|
BSDPAN-5.8.0_${BSDPAN_REVISION}${EXTRACT_SUFX}:local
|
1995-04-17 06:02:34 +00:00
|
|
|
|
2001-06-12 19:36:32 +00:00
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Practical Extraction and Report Language
|
1995-04-17 06:02:34 +00:00
|
|
|
|
2003-11-10 18:08:54 +00:00
|
|
|
PERL_VER= 5.8.2
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
PERL_ARCH= mach
|
|
|
|
PERL_VERSION= ${PERL_VER}
|
2001-04-10 19:57:49 +00:00
|
|
|
|
2001-03-22 15:17:46 +00:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT=Configure
|
|
|
|
CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
|
|
|
|
-Darchlib=${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} \
|
|
|
|
-Dprivlib=${PREFIX}/lib/perl5/${PERL_VER} \
|
|
|
|
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
|
2003-11-25 18:48:26 +00:00
|
|
|
-Dman1dir=${PREFIX}/man/man1 \
|
2003-10-27 19:48:03 +00:00
|
|
|
-Dsitearch=${SITE_PERL}/${PERL_ARCH} \
|
|
|
|
-Dsitelib=${SITE_PERL} -Dscriptdir=${PREFIX}/bin \
|
2002-07-28 09:14:17 +00:00
|
|
|
-Ui_malloc -Ui_iconv -Uinstallusrbinperl \
|
2003-11-10 18:08:54 +00:00
|
|
|
-Dcc="${CC}" -Doptimize="${CFLAGS}" -Duseshrplib \
|
2002-07-21 17:09:12 +00:00
|
|
|
-Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
|
2003-10-27 19:48:03 +00:00
|
|
|
|
|
|
|
.if defined(ENABLE_SUIDPERL)
|
2003-10-28 20:46:51 +00:00
|
|
|
CONFIGURE_ARGS+= -Dd_dosuid=define
|
2003-10-27 19:48:03 +00:00
|
|
|
PLIST_SUB+= ENABLE_SUIDPERL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= -Ud_dosuid
|
|
|
|
PLIST_SUB+= ENABLE_SUIDPERL="@comment "
|
|
|
|
.endif
|
2002-07-21 17:09:12 +00:00
|
|
|
# INSTALLS_SHLIB= yes
|
1995-04-17 06:02:34 +00:00
|
|
|
|
2002-07-28 09:14:17 +00:00
|
|
|
.if defined(WITH_GDBM)
|
|
|
|
CONFIGURE_ARGS+= -Di_gdbm
|
2003-01-03 08:26:35 +00:00
|
|
|
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
|
2002-07-28 09:14:17 +00:00
|
|
|
PLIST_SUB+= GDBM=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= -Ui_gdbm
|
|
|
|
PLIST_SUB+= GDBM="@comment "
|
|
|
|
.endif
|
|
|
|
|
2003-10-27 19:48:03 +00:00
|
|
|
.if defined(WITHOUT_PERL_MALLOC)
|
|
|
|
.undef WITH_PERL_MALLOC
|
2002-07-28 09:14:17 +00:00
|
|
|
.else
|
2003-10-27 19:48:03 +00:00
|
|
|
WITH_PERL_MALLOC= yes
|
2002-07-28 09:14:17 +00:00
|
|
|
.endif
|
|
|
|
|
2003-04-01 12:29:12 +00:00
|
|
|
.if defined(WITH_THREADS)
|
|
|
|
CONFIGURE_ARGS+= -Dusethreads=y
|
|
|
|
PKGNAMESUFFIX= -threaded
|
2003-10-27 19:48:03 +00:00
|
|
|
# it seems perl malloc has problems with threaded perl on FreeBSD
|
|
|
|
.undef WITH_PERL_MALLOC
|
2003-04-01 12:29:12 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= -Dusethreads=n
|
|
|
|
.endif
|
|
|
|
|
2003-10-27 19:48:03 +00:00
|
|
|
.if defined(WITH_PERL_MALLOC)
|
|
|
|
CONFIGURE_ARGS+= -Dusemymalloc=y
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= -Dusemymalloc=n
|
|
|
|
.endif
|
|
|
|
|
2001-04-10 19:57:49 +00:00
|
|
|
INCLUDEDIR= /usr/include
|
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-03-01 15:38:43 +00:00
|
|
|
.if ${OSVERSION} < 502100
|
|
|
|
LATEST_LINK= perl5.8
|
|
|
|
.else
|
2004-02-05 06:12:40 +00:00
|
|
|
PKGMESSAGE= ${PKGDIR}/.not-here
|
|
|
|
.endif
|
|
|
|
|
2002-07-21 17:09:12 +00:00
|
|
|
MAN1= a2p.1 c2ph.1 dprofpp.1 enc2xs.1 find2perl.1 h2ph.1 h2xs.1 \
|
|
|
|
libnetcfg.1 perl.1 perl5004delta.1 perl5005delta.1 \
|
|
|
|
perl561delta.1 perl56delta.1 perl570delta.1 perl571delta.1 \
|
|
|
|
perl572delta.1 perlaix.1 perlamiga.1 perlapi.1 perlapio.1 \
|
|
|
|
perlapollo.1 perlbeos.1 perlbook.1 perlboot.1 perlbot.1 \
|
|
|
|
perlbs2000.1 perlbug.1 perlcall.1 perlcc.1 perlce.1 perlclib.1 \
|
|
|
|
perlcn.1 perlcompile.1 perlcygwin.1 perldata.1 perldbmfilter.1 \
|
|
|
|
perldebguts.1 perldebtut.1 perldebug.1 perldelta.1 perldgux.1 \
|
|
|
|
perldiag.1 perldoc.1 perldos.1 perldsc.1 perlebcdic.1 \
|
|
|
|
perlembed.1 perlepoc.1 perlfaq.1 perlfaq1.1 perlfaq2.1 \
|
|
|
|
perlfaq3.1 perlfaq4.1 perlfaq5.1 perlfaq6.1 perlfaq7.1 \
|
|
|
|
perlfaq8.1 perlfaq9.1 perlfilter.1 perlfork.1 perlform.1 \
|
|
|
|
perlfreebsd.1 perlfunc.1 perlguts.1 perlhack.1 perlhist.1 \
|
|
|
|
perlhpux.1 perlhurd.1 perlintern.1 perlintro.1 perliol.1 \
|
|
|
|
perlipc.1 perlirix.1 perlivp.1 perljp.1 perlko.1 perllexwarn.1 \
|
|
|
|
perllocale.1 perllol.1 perlmachten.1 perlmacos.1 perlmint.1 \
|
|
|
|
perlmod.1 perlmodinstall.1 perlmodlib.1 perlmodstyle.1 \
|
|
|
|
perlmpeix.1 perlnetware.1 perlnewmod.1 perlnumber.1 perlobj.1 \
|
|
|
|
perlop.1 perlopentut.1 perlos2.1 perlos390.1 perlothrtut.1 \
|
|
|
|
perlpacktut.1 perlplan9.1 perlpod.1 perlpodspec.1 perlport.1 \
|
|
|
|
perlqnx.1 perlre.1 perlref.1 perlreftut.1 perlrequick.1 \
|
|
|
|
perlretut.1 perlrun.1 perlsec.1 perlsolaris.1 perlstyle.1 \
|
|
|
|
perlsub.1 perlsyn.1 perlthrtut.1 perltie.1 perltoc.1 perltodo.1 \
|
|
|
|
perltooc.1 perltoot.1 perltrap.1 perltru64.1 perltw.1 \
|
|
|
|
perlunicode.1 perluniintro.1 perlutil.1 perluts.1 perlvar.1 \
|
|
|
|
perlvmesa.1 perlvms.1 perlvos.1 perlwin32.1 perlxs.1 perlxstut.1 \
|
|
|
|
piconv.1 pl2pm.1 pod2html.1 pod2latex.1 pod2man.1 pod2text.1 \
|
|
|
|
pod2usage.1 podchecker.1 podselect.1 psed.1 pstruct.1 s2p.1 \
|
2003-11-10 18:08:54 +00:00
|
|
|
splain.1 xsubpp.1 cpan.1 perl573delta.1 perl58delta.1 perl581delta.1 \
|
2003-10-27 19:48:03 +00:00
|
|
|
perlartistic.1 perlcheat.1 perlgpl.1 perlmacosx.1 perlos400.1 \
|
|
|
|
perlreref.1
|
1997-05-23 20:07:04 +00:00
|
|
|
|
2003-10-27 19:48:03 +00:00
|
|
|
MAN3= AnyDBM_File.3 Attribute::Handlers.3 AutoLoader.3 AutoSplit.3 \
|
|
|
|
B.3 B::Asmdata.3 B::Assembler.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
B::Bblock.3 B::Bytecode.3 B::C.3 B::CC.3 B::Concise.3 \
|
|
|
|
B::Debug.3 B::Deparse.3 B::Disassembler.3 B::Lint.3 B::Showlex.3 \
|
|
|
|
B::Stackobj.3 B::Stash.3 B::Terse.3 B::Xref.3 Benchmark.3 \
|
|
|
|
ByteLoader.3 CGI.3 CGI::Apache.3 CGI::Carp.3 CGI::Cookie.3 \
|
|
|
|
CGI::Fast.3 CGI::Pretty.3 CGI::Push.3 CGI::Switch.3 \
|
|
|
|
CGI::Util.3 CPAN.3 CPAN::FirstTime.3 CPAN::Nox.3 Carp.3 \
|
|
|
|
Carp::Heavy.3 Class::ISA.3 Class::Struct.3 Config.3 Cwd.3 \
|
|
|
|
DB.3 DB_File.3 Data::Dumper.3 Devel::DProf.3 Devel::PPPort.3 \
|
|
|
|
Devel::Peek.3 Devel::SelfStubber.3 Digest.3 Digest::MD5.3 \
|
|
|
|
DirHandle.3 Dumpvalue.3 DynaLoader.3 Encode.3 Encode::Alias.3 \
|
|
|
|
Encode::Byte.3 Encode::CJKConstants.3 Encode::CN.3 \
|
|
|
|
Encode::CN::HZ.3 Encode::Config.3 Encode::EBCDIC.3 \
|
|
|
|
Encode::Encoder.3 Encode::Encoding.3 Encode::Guess.3 \
|
|
|
|
Encode::JP.3 Encode::JP::H2Z.3 Encode::JP::JIS7.3 Encode::KR.3 \
|
|
|
|
Encode::KR::2022_KR.3 Encode::MIME::Header.3 Encode::PerlIO.3 \
|
|
|
|
Encode::Supported.3 Encode::Symbol.3 Encode::TW.3 \
|
2003-10-27 19:48:03 +00:00
|
|
|
Encode::Unicode.3 Encode::Unicode::UTF7.3 English.3 Env.3 Errno.3 \
|
|
|
|
Exporter.3 Exporter::Heavy.3 ExtUtils::Command.3 \
|
|
|
|
ExtUtils::Command::MM.3 ExtUtils::Constant.3 ExtUtils::Embed.3 \
|
|
|
|
ExtUtils::Install.3 ExtUtils::Installed.3 ExtUtils::Liblist.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
ExtUtils::MM.3 ExtUtils::MM_Any.3 ExtUtils::MM_BeOS.3 \
|
|
|
|
ExtUtils::MM_Cygwin.3 ExtUtils::MM_DOS.3 ExtUtils::MM_MacOS.3 \
|
|
|
|
ExtUtils::MM_NW5.3 ExtUtils::MM_OS2.3 ExtUtils::MM_UWIN.3 \
|
|
|
|
ExtUtils::MM_Unix.3 ExtUtils::MM_VMS.3 ExtUtils::MM_Win32.3 \
|
|
|
|
ExtUtils::MM_Win95.3 ExtUtils::MY.3 ExtUtils::MakeMaker.3 \
|
2003-10-27 19:48:03 +00:00
|
|
|
ExtUtils::MakeMaker::FAQ.3 ExtUtils::MakeMaker::Tutorial.3 \
|
|
|
|
ExtUtils::MakeMaker::bytes.3 ExtUtils::MakeMaker::vmsish.3 \
|
2001-03-22 15:17:46 +00:00
|
|
|
ExtUtils::Manifest.3 ExtUtils::Miniperl.3 ExtUtils::Mkbootstrap.3 \
|
1998-08-06 10:43:22 +00:00
|
|
|
ExtUtils::Mksymlists.3 ExtUtils::Packlist.3 ExtUtils::testlib.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
Fatal.3 Fcntl.3 File::Basename.3 File::CheckTree.3 File::Compare.3 \
|
|
|
|
File::Copy.3 File::DosGlob.3 File::Find.3 File::Glob.3 \
|
|
|
|
File::Path.3 File::Spec.3 File::Spec::Cygwin.3 File::Spec::Epoc.3 \
|
2001-04-10 19:57:49 +00:00
|
|
|
File::Spec::Functions.3 File::Spec::Mac.3 File::Spec::OS2.3 \
|
|
|
|
File::Spec::Unix.3 File::Spec::VMS.3 File::Spec::Win32.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
File::Temp.3 File::stat.3 FileCache.3 FileHandle.3 Filter::Simple.3 \
|
|
|
|
Filter::Util::Call.3 FindBin.3 Getopt::Long.3 Getopt::Std.3 \
|
|
|
|
Hash::Util.3 I18N::Collate.3 I18N::LangTags.3 I18N::LangTags::List.3 \
|
|
|
|
I18N::Langinfo.3 IO.3 IO::Dir.3 IO::File.3 IO::Handle.3 IO::Pipe.3 \
|
|
|
|
IO::Poll.3 IO::Seekable.3 IO::Select.3 IO::Socket.3 \
|
|
|
|
IO::Socket::INET.3 IO::Socket::UNIX.3 IPC::Msg.3 IPC::Open2.3 \
|
|
|
|
IPC::Open3.3 IPC::Semaphore.3 IPC::SysV.3 List::Util.3 \
|
|
|
|
Locale::Constants.3 Locale::Country.3 Locale::Currency.3 \
|
|
|
|
Locale::Language.3 Locale::Maketext.3 Locale::Maketext::TPJ13.3 \
|
|
|
|
Locale::Script.3 MIME::Base64.3 MIME::QuotedPrint.3 \
|
2003-10-27 19:48:03 +00:00
|
|
|
Math::BigFloat.3 Math::BigInt.3 Math::BigInt::Calc.3 \
|
|
|
|
Math::BigInt::Scalar.3 Math::BigRat.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
Math::Complex.3 Math::Trig.3 Memoize.3 Memoize::AnyDBM_File.3 \
|
|
|
|
Memoize::Expire.3 Memoize::ExpireFile.3 Memoize::ExpireTest.3 \
|
|
|
|
Memoize::NDBM_File.3 Memoize::SDBM_File.3 Memoize::Storable.3 \
|
|
|
|
NDBM_File.3 NEXT.3 Net::Cmd.3 Net::Config.3 Net::Domain.3 \
|
2003-10-27 19:48:03 +00:00
|
|
|
Net::FTP.3 Net::NNTP.3 Net::Netrc.3 Net::POP3.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
Net::Ping.3 Net::SMTP.3 Net::Time.3 Net::hostent.3 \
|
|
|
|
Net::libnetFAQ.3 Net::netent.3 Net::protoent.3 Net::servent.3 \
|
|
|
|
O.3 Opcode.3 POSIX.3 PerlIO.3 PerlIO::encoding.3 PerlIO::scalar.3 \
|
|
|
|
PerlIO::via.3 PerlIO::via::QuotedPrint.3 Pod::Checker.3 \
|
|
|
|
Pod::Find.3 Pod::Html.3 Pod::InputObjects.3 Pod::LaTeX.3 \
|
|
|
|
Pod::Man.3 Pod::ParseLink.3 Pod::ParseUtils.3 Pod::Parser.3 \
|
2003-10-27 19:48:03 +00:00
|
|
|
Pod::Perldoc::ToChecker.3 Pod::Perldoc::ToMan.3 \
|
|
|
|
Pod::Perldoc::ToNroff.3 Pod::Perldoc::ToPod.3 Pod::Perldoc::ToRtf.3 \
|
|
|
|
Pod::Perldoc::ToText.3 Pod::Perldoc::ToTk.3 Pod::Perldoc::ToXml.3 \
|
|
|
|
Pod::PlainText.3 \
|
2002-07-21 17:09:12 +00:00
|
|
|
Pod::Plainer.3 Pod::Select.3 Pod::Text.3 Pod::Text::Color.3 \
|
|
|
|
Pod::Text::Overstrike.3 Pod::Text::Termcap.3 Pod::Usage.3 \
|
|
|
|
SDBM_File.3 Safe.3 Scalar::Util.3 Search::Dict.3 SelectSaver.3 \
|
|
|
|
SelfLoader.3 Shell.3 Socket.3 Storable.3 Switch.3 Symbol.3 \
|
|
|
|
Sys::Hostname.3 Sys::Syslog.3 Term::ANSIColor.3 Term::Cap.3 \
|
|
|
|
Term::Complete.3 Term::ReadLine.3 Test.3 Test::Builder.3 \
|
|
|
|
Test::Harness.3 Test::Harness::Assert.3 Test::Harness::Iterator.3 \
|
|
|
|
Test::Harness::Straps.3 Test::More.3 Test::Simple.3 Test::Tutorial.3 \
|
|
|
|
Text::Abbrev.3 Text::Balanced.3 Text::ParseWords.3 \
|
|
|
|
Text::Soundex.3 Text::Tabs.3 Text::Wrap.3 Thread.3 Thread::Queue.3 \
|
|
|
|
Thread::Semaphore.3 Tie::Array.3 Tie::File.3 Tie::Handle.3 \
|
|
|
|
Tie::Hash.3 Tie::Memoize.3 Tie::RefHash.3 Tie::Scalar.3 \
|
|
|
|
Tie::SubstrHash.3 Time::HiRes.3 Time::Local.3 Time::gmtime.3 \
|
|
|
|
Time::localtime.3 Time::tm.3 UNIVERSAL.3 Unicode::Collate.3 \
|
|
|
|
Unicode::Normalize.3 Unicode::UCD.3 User::grent.3 User::pwent.3 \
|
|
|
|
Win32.3 XS::APItest.3 XS::Typemap.3 XSLoader.3 attributes.3 \
|
|
|
|
attrs.3 autouse.3 base.3 bigint.3 bignum.3 bigrat.3 blib.3 \
|
|
|
|
bytes.3 charnames.3 constant.3 diagnostics.3 encoding.3 \
|
|
|
|
fields.3 filetest.3 if.3 integer.3 less.3 lib.3 locale.3 \
|
|
|
|
open.3 ops.3 overload.3 re.3 sigtrap.3 sort.3 strict.3 \
|
|
|
|
subs.3 threads.3 threads::shared.3 utf8.3 vars.3 vmsish.3 \
|
|
|
|
warnings.3 warnings::register.3
|
2002-07-28 09:14:17 +00:00
|
|
|
.if defined(WITH_GDBM)
|
|
|
|
MAN3+= GDBM_File.3
|
|
|
|
.endif
|
2001-04-10 19:57:49 +00:00
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}
|
1996-12-07 14:23:29 +00:00
|
|
|
|
1995-04-17 06:02:34 +00:00
|
|
|
test:
|
|
|
|
@(cd ${WRKSRC}; make test)
|
|
|
|
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
BSDPAN_DEST= ${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN
|
|
|
|
BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \
|
|
|
|
ExtUtils/MM_Unix.pm ExtUtils/Packlist.pm
|
2003-10-27 19:48:03 +00:00
|
|
|
BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-5.8.0
|
2002-07-22 16:36:07 +00:00
|
|
|
BSDPAN_REVISION=1
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
|
|
|
|
post-patch:
|
2002-05-20 00:03:07 +00:00
|
|
|
${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
-e 's|%%PERL_VER%%|${PERL_VER}|g;' \
|
|
|
|
-e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \
|
|
|
|
-e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \
|
2002-05-20 00:03:07 +00:00
|
|
|
${FILESDIR}/use.perl \
|
|
|
|
> ${WRKDIR}/use.perl
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
|
2003-11-12 00:07:43 +00:00
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${PREFIX}/bin/perl${PERL_VER}
|
|
|
|
@${RM} -f ${PREFIX}/bin/perl
|
|
|
|
|
1995-04-23 17:21:34 +00:00
|
|
|
post-install:
|
2003-11-12 00:07:43 +00:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/perl${PERL_VER}
|
2003-10-27 19:48:03 +00:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/perl
|
2003-11-12 00:07:43 +00:00
|
|
|
@${LN} -sf ${PREFIX}/bin/perl${PERL_VER} ${PREFIX}/bin/perl5
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
|
2003-10-27 19:48:03 +00:00
|
|
|
.for files in ${BSDPAN_FILES}
|
|
|
|
${MKDIR} ${BSDPAN_DEST}/${files:H}
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
2003-10-27 19:48:03 +00:00
|
|
|
${BSDPAN_WRKSRC}/${files} ${BSDPAN_DEST}/${files}
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
.endfor
|
2001-04-10 19:57:49 +00:00
|
|
|
@(cd ${INCLUDEDIR} && ${PREFIX}/bin/h2ph *.h machine/*.h sys/*.h)
|
2003-10-27 19:48:03 +00:00
|
|
|
${MKDIR} ${SITE_PERL}/${PERL_ARCH}/auto
|
2004-02-04 19:20:40 +00:00
|
|
|
.if ${OSVERSION} < 502100
|
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
2001-12-19 17:05:05 +00:00
|
|
|
@fmt ${PKGMESSAGE}
|
2004-02-04 19:20:40 +00:00
|
|
|
.else
|
|
|
|
@${PREFIX}/bin/use.perl port
|
|
|
|
.endif
|
1995-04-23 17:21:34 +00:00
|
|
|
|
1998-11-11 05:37:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|