Commit Graph

19 Commits

Author SHA1 Message Date
Mathieu Arnold
afae652a2a Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
  Though you should note that only the default version can be used to
  install Perl modules, and the non default Perl versions cannot use the
  modules installed via ports if they contain .so as they are installed
  in a version specific directory.

Reviewed by:	bapt (the Mk bits)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3542
2015-09-14 12:19:48 +00:00
Baptiste Daroussin
033b54e3df Cleanup plist 2015-02-05 15:55:53 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Baptiste Daroussin
e04b632220 Fix properties on pkg-plist 2014-01-21 23:40:21 +00:00
Renato Botelho
1cc339cbe4 . Support staging
. Add devel/p5-Term-ReadLine-Perl as dependency, as suggested by install scripts
2013-10-23 23:38:12 +00:00
Renato Botelho
ee518f4189 - Update to 1.8.1 [1]
- Use DATADIR in pkg-plist
- Move pkg-install and pkg-deinstall to files/ and use SUB_FILES
- Change MASTER_SITES to use MASTER_SITE_PERL_CPAN

PR:		ports/115281 [1]
Submitted by:	Felippe de Meirelles Motta <lippe@freebsdbrasil.com.br> [1]
2007-08-08 13:12:42 +00:00
Cheng-Lung Sung
cab771a7f9 - Change the way used to add/remove the shell on /etc/shells,
use pkg-install and pkg-deinstall (both stoled from shells/bash)
  to do it.
- Remove pre-install section, it's not more needed on this version,
  because Makefile is created correctly changing Makefile.PL

PR:		80583
Submitted by:	Renato Botelho (maintainer)
2005-05-04 05:47:17 +00:00
Yen-Ming Lee
ae34867263 - It was not installing on FreeBSD 4.x with perl 5.00503.
- Rename patch-aa to reflect which file is patched.
- update /etc/shells in pkg-plist for package

PR:		80104
Submitted by:	Renato Botelho <freebsd@galle.com.br> (maintainer)
2005-04-19 17:46:52 +00:00
Sergei Kolobov
72e6b46a2d - Update to 1.8
- Unbreak
- Remove gratuitous use of REINPLACE
- Add $FreeBSD$ on pkg-plist
- Assign maintainership to the submitter

PR:		ports/79623
Submitted by:	Renato Botelho <freebsd@galle.com.br>
2005-04-18 16:08:18 +00:00
Kris Kennaway
0cfa268ebb Don't remove directories we didn't install 2004-05-31 08:07:43 +00:00
Ying-Chieh Liao
c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00
Tilman Keskinoz
ee40b04c65 Fix PLIST (bento)
PR:	36792
2002-11-03 23:39:37 +00:00
Pete Fritchman
a57055def2 Fix a braino (having @unexec rmdir ... without 2>/dev/null || true really
defeats the purpose...)
2001-10-05 04:34:49 +00:00
Pete Fritchman
dc274f0557 Add missing @unexec rmdir
Noticed by:	bento
2001-10-05 04:27:53 +00:00
James E. Housley
4202c9f72c The perl man directories should not be removed.
PR:		27696
Submitted by:	Pete Fritchman <petef@databits.net>
2001-06-07 11:09:45 +00:00
Steve Price
46baf67232 Add a couple of missing files and remove extra directories on uninstall. 2001-04-15 01:05:42 +00:00
Steve Price
0f24c3f317 Update to version 0.009.
PR:		24119
Submitted by:	Joseph Scott <joseph@randomnetworks.com>
2001-02-26 04:04:33 +00:00
Chris D. Faulhaber
d158e99d33 Upgrade shells/perlsh to new version (perlsh 0.007).
1) Update pkg/PLIST.
2) Change to depend on perlsh's install mechanism.
3) New patch (patch-aa) fixes PREFIX problem.
4) Account for broken TCP/IP on MASTER_SITES.
5) General Makefile cleanups.
6) Addition of perlsh to perl5 virtual category.
7) Use PKGNAME to match port's name.
8) Remove unnecessary perl substitution.

PR:		17031
Submitted by:	Maintainer
2000-02-29 02:27:02 +00:00
Wes Peters
46d2d8fa30 Commit perlsh 0.004pre2 port.
PR:		15412
Submitted by:	Will Andrews <andrews@technologist.com>
2000-01-03 19:33:18 +00:00