summaryrefslogtreecommitdiff
path: root/lang/perl5-current/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5-current/Makefile')
-rw-r--r--lang/perl5-current/Makefile67
1 files changed, 0 insertions, 67 deletions
diff --git a/lang/perl5-current/Makefile b/lang/perl5-current/Makefile
deleted file mode 100644
index 6681a2b66df..00000000000
--- a/lang/perl5-current/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2000/08/30 18:59:32 jlam Exp $
-# FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp
-#
-
-DISTNAME= perl-${PERL_VERSION}
-PKGNAME= perl-${PERL_VERSION}nb2
-PERL_VERSION= 5.6.0
-CATEGORIES= lang devel perl5
-MASTER_SITES= ftp://ftp.digital.com/pub/plan/perl/CPAN/src/5.0/ \
- ftp://ftp.cdrom.com/pub/perl/CPAN/src/5.0/
-
-MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://language.perl.com/index.html
-
-IGNORE= "${PKGNAME} has been superseded by the perl5 package"
-
-HAS_CONFIGURE= # defined
-CONFIGURE_ENV+= PREFIX=${PREFIX}
-CONFIGURE_SCRIPT= ./Configure
-CONFIGURE_ARGS+= -sde -Dprefix=${PREFIX} -Doptimize="${CFLAGS}" \
- -Darchname=${MACHINE_ARCH}-${LOWER_OPSYS} \
- -Dcc=gcc -Dusemymalloc=false
-MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if exists(/usr/libexec/ld.so) || exists(/usr/libexec/ld.elf_so)
-CONFIGURE_ARGS+= -Duseshrplib=true
-PLIST_SOURCES= ${PKGDIR}/PLIST-md.shared
-PLIST_SOURCES+= ${PKGDIR}/PLIST-md-${OBJECT_FMT}.shared
-.else
-CONFIGURE_ARGS+= -Duseshrplib=false
-PLIST_SOURCES= ${PKGDIR}/PLIST-md.static
-.endif
-PLIST_SOURCES+= ${PKGDIR}/PLIST
-PLIST_SRC= ${PLIST_SOURCES}
-PLIST_SUBST+= PERL_VERSION=${PERL_VERSION}
-
-.if ${OPSYS} == "SunOS"
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
-MAKE_ENV+= CFLAGS=
-.endif
-
-test:
- @(cd ${WRKSRC}; ${MAKE} test)
-
-post-patch:
- cd ${WRKSRC}/ext/DynaLoader/hints && ${CP} -f openbsd.pl netbsd.pl
-
-# Remove several modules which are externally available and don't need to be
-# part of the base perl distribution.
-#
-pre-configure:
- cd ${WRKSRC}/ext; ${RM} -rf Data Devel GDBM_File
- cd ${WRKSRC}/lib; ${RM} -rf CGI CGI.pm
- cd ${WRKSRC}/utils; ${RM} -f dprofpp.PL
-
-post-install:
- @strip ${PREFIX}/bin/a2p
- @strip ${PREFIX}/bin/perl
-.if ${OPSYS} == "SunOS"
- ${CAT} ${PLIST_SOURCES} | ${EGREP} -v 'DB_File' > ${PLIST_SRC}
-.endif
- eval `${PREFIX}/bin/perl -V:installsitearch`; \
- ${TOUCH} $${installsitearch}/.directory
-
-.include "../../mk/bsd.pkg.mk"