# $NetBSD: Makefile,v 1.28 2000/03/27 08:54:57 tron Exp $ # FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp # DISTNAME= perl5.004_04 PKGNAME= perl-5.00404 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 HAS_CONFIGURE= yes 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 ${OPSYS} == "SunOS" PLIST_SRC= ${WRKDIR}/.PLIST_SRC MAKE_ENV+= CFLAGS= .endif test: @(cd ${WRKSRC}; ${MAKE} test) post-install: @strip ${PREFIX}/bin/a2p @strip ${PREFIX}/bin/perl .if ${OPSYS} == "SunOS" ${CAT} ${PKGDIR}/PLIST-mi ${PKGDIR}/PLIST-md.shared | \ ${EGREP} -v 'DB_File' > ${PLIST_SRC} .endif .include "../../mk/bsd.pkg.mk"