head	1.4;
access;
symbols
	RELENG_4_11_0_RELEASE:1.3.2.3
	RELENG_4_11:1.3.2.3.0.10
	RELENG_4_11_BP:1.3.2.3
	RELENG_4_10_0_RELEASE:1.3.2.3
	RELENG_4_10:1.3.2.3.0.8
	RELENG_4_10_BP:1.3.2.3
	RELENG_4_9_0_RELEASE:1.3.2.3
	RELENG_4_9:1.3.2.3.0.6
	RELENG_4_9_BP:1.3.2.3
	RELENG_4_8_0_RELEASE:1.3.2.3
	RELENG_4_8:1.3.2.3.0.4
	RELENG_4_8_BP:1.3.2.3
	RELENG_4_7_0_RELEASE:1.3.2.3
	RELENG_4_7:1.3.2.3.0.2
	RELENG_4_7_BP:1.3.2.3
	RELENG_4_6_2_RELEASE:1.3.2.2
	RELENG_4_6_1_RELEASE:1.3.2.2
	RELENG_4_6_0_RELEASE:1.3.2.2
	RELENG_4_6:1.3.2.2.0.6
	RELENG_4_6_BP:1.3.2.2
	RELENG_4_5_0_RELEASE:1.3.2.2
	RELENG_4_5:1.3.2.2.0.4
	RELENG_4_5_BP:1.3.2.2
	RELENG_4_4_0_RELEASE:1.3.2.2
	RELENG_4_4:1.3.2.2.0.2
	RELENG_4_4_BP:1.3.2.2
	RELENG_4_3_0_RELEASE:1.3.2.1
	RELENG_4_3:1.3.2.1.0.2
	RELENG_4_3_BP:1.3.2.1
	RELENG_4_2_0_RELEASE:1.3.2.1
	RELENG_4:1.3.0.2
	PRE_SMPNG:1.3;
locks; strict;
comment	@# @;


1.4
date	2002.05.16.09.57.06;	author markm;	state dead;
branches;
next	1.3;

1.3
date	2000.07.02.15.45.05;	author markm;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2000.06.27.15.28.10;	author markm;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.25.14.48.03;	author markm;	state Exp;
branches;
next	;

1.3.2.1
date	2000.10.05.09.54.39;	author markm;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.05.31.11.43.38;	author markm;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2002.08.07.16.31.44;	author ru;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2012.11.17.07.23.08;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove the perl build. Farewell, old friend.
@
text
@# $FreeBSD: src/gnu/usr.bin/perl/library/Makefile,v 1.3 2000/07/02 15:45:05 markm Exp $

SUBDIR= B ByteLoader DB_File Dumper DProf Errno Peek Fcntl Glob IO SysV \
	NDBM_File Opcode POSIX SDBM_File Socket Hostname Syslog attrs re

all:	man3pages
	
beforeinstall:
	@@cd ${.OBJDIR}/lib ;\
	for i in `find . \! -type d \! -name \*.3.gz` ; do \
		j=`echo $$i|sed -e 's|auto/DynaLoader|mach/auto/DynaLoader|'` ;\
		${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
			$$i ${DESTDIR}/usr/libdata/perl/${VERSION}/$$j ;\
	done
	@@cd ${.OBJDIR}/lib ;\
	${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
		*.3.gz ${DESTDIR}/usr/share/perl/man/man3
	@@cd ${.OBJDIR} ;\
	${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
		*.h ${DESTDIR}/usr/libdata/perl/${VERSION}/mach/CORE
	@@cd ${.OBJDIR} ;\
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		Config.pm ${DESTDIR}/usr/libdata/perl/${VERSION}/mach

.include <bsd.prog.mk>

man3pages: ${DYNALOADER} pod2man
	@@cd ${.OBJDIR}/lib ;\
	for i in `find . -name \*.pm | grep -v Functions.pm` ; do \
		j=`echo $$i | sed -e 's|./||' -e 's|/|::|g' -e 's|.pm|.3|'` ;\
		echo Manifying $$j ;\
		${MINIPERL} -I${.OBJDIR}/lib ${.OBJDIR}/pod2man $$i > $$j ;\
		gzip -fn $$j ;\
	done
	@@cd ${.OBJDIR}/ext ;\
	for i in `find . -name \*.pm -o -name \*.pod | grep -v POSIX.pm` ; do \
		j=`echo $$i | sed -e 's|./||' -e 's|/SysV/|/IPC/|' \
			-e 's|/Dumper/|/Data/|' -e 's|/lib/|/|' \
			-e 's|^[^/]*/||' \
			-e 's|/|::|g' -e 's|.pm|.3|' -e 's|.pod|.3|'`;\
		i=`echo $$i | sed -e 's|./||'` ;\
		echo Manifying $$j ;\
		${MINIPERL} -I${.OBJDIR}/lib ${.OBJDIR}/pod2man $$i > ../lib/$$j ;\
		gzip -fn ../lib/$$j ;\
	done
	@@touch ${.TARGET}

pod2man: scripts autosplit ${PERL5SRC}/pod/pod2man.PL
	ln -sf ${PERL5SRC}/pod/pod2man.PL 
	${MINIPERL} -I${.OBJDIR}/lib pod2man.PL

.PATH:	${PERL5SRC}
@


1.3
log
@Bunch-o'-tweaks.

1) (Biggest) I tried long-and-hard to keep the version number (5.006)
   backwards compatible with FreeBSD; I have lost this battle, and
   must defer to the Perl convention (5.6.0). Victims include suidperl.
   this means that dirs with a name of 5.006 will be replaced with
   dirs named 5.6.0 in both /usr/libdata/perl  and /usr/local/lib/perl.

2) Errno module is added.

3) Alpha bits extensively tweeked after a Beast-build.

Other commits to follow.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/library/Makefile,v 1.2 2000/06/27 15:28:10 markm Exp $
@


1.3.2.1
log
@MFC: Merge the CURRENT perl-building method to STABLE. This will
dramatically reduce the dependance on miniperl.

NOTE!! This does not bring Perl-5.6.0 to STABLE !!

NOTE!! You should delete /usr/bin/miniperl !!
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/library/Makefile,v 1.3 2000/07/02 15:45:05 markm Exp $
d3 2
a4 5
SUBDIR=	B DB_File Dumper Errno Fcntl IO SysV NDBM_File Opcode POSIX \
	SDBM_File Socket attrs re
.if defined(${PERL_THREADED}) && ${PERL_THREADED} == "yes"
SUBDIR+=Thread
.endif
a23 2

CLEANFILES= ext.libs autosplit pod2man pod2man.PL man3pages
@


1.3.2.2
log
@MFC. (Actually CURRENT was MFSed; the commits are happening in the
"correct" order).

PERL_THREAD considered evil. Remove until it can be properly
built and implemented.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/library/Makefile,v 1.3.2.1 2000/10/05 09:54:39 markm Exp $
d5 3
@


1.3.2.3
log
@MFC: Drop support for COPY.
@
text
@d1 1
a1 1
# $FreeBSD$
d12 1
a12 1
		${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
d16 1
a16 1
	${INSTALL} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
d19 1
a19 1
	${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
d22 1
a22 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.3.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/perl/library/Makefile 101469 2002-08-07 16:32:02Z ru $
@


1.2
log
@Fix the upgrade-build case.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/perl/library/Makefile,v 1.1 2000/06/25 14:48:03 markm Exp $
d3 1
a3 1
SUBDIR= B ByteLoader DB_File Dumper DProf Peek Fcntl Glob IO SysV \
@


1.1
log
@Userland build stuff for Perl5.006.

This is cleaned up quite a lot since 5.00502, and the library modules
are broken out into individual dirs. This should please a lot folk.
@
text
@d1 1
a1 1
# $FreeBSD$
d32 1
a32 1
		miniperl -I${.OBJDIR}/lib ${.OBJDIR}/pod2man $$i > $$j ;\
d43 1
a43 1
		miniperl -I${.OBJDIR}/lib ${.OBJDIR}/pod2man $$i > ../lib/$$j ;\
d50 1
a50 1
	miniperl -I${.OBJDIR}/lib pod2man.PL
@

