1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/lang/p5-F77/Makefile
Philip M. Gollucci dd552493bf - Pass to perl@
2010-12-17 20:14:56 +00:00

30 lines
596 B
Makefile

# New ports collection makefile for: p5-ExtUtils-F77
# Date created: December 7 1999
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= ExtUtils-F77
PORTVERSION= 1.16
PORTREVISION= 1
CATEGORIES= lang perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Helps link C programs with Fortran subroutines
PERL_CONFIGURE= yes
MAN3= ExtUtils::F77.3
F2CLIB= -lg2c
post-patch:
@cd ${WRKSRC}; ${PERL5} -i.orig -pe \
's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm
@${REINPLACE_CMD} -e "s/'f77',/'f77','g77-34',/" ${WRKSRC}/F77.pm
.include <bsd.port.mk>