1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/lang/p5-ExtUtils-F77/Makefile
Jean-Marc Zucconi a27c635fa4 Update to 1.14
Add WWW

PR:		ports/52245
Submitted by:	Mathieu Arnold <m@absolight.net>
2003-05-14 21:26:51 +00:00

34 lines
646 B
Makefile

# New ports collection makefile for: p5-ExtUtils-F77
# Date created: December 7 1999
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= ExtUtils-F77
PORTVERSION= 1.14
CATEGORIES= lang perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
PKGNAMEPREFIX= p5-
MAINTAINER= jmz@FreeBSD.org
COMMENT= Helps link C programs with Fortran subroutines
PERL_CONFIGURE= yes
MAN3= ExtUtils::F77.3
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400005
F2CLIB= -lg2c
.else
F2CLIB= -lf2c
.endif
post-patch:
@cd ${WRKSRC}; ${PERL5} -i.orig -pe \
's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm
.include <bsd.port.post.mk>