1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/lang/p5-F77/Makefile
Pav Lucistnik 9f662a0241 - Fix the patch I broke in previous revision
Reported by:	pointyhat
Pointy hat to:	pav
2007-12-13 23:24:59 +00:00

31 lines
644 B
Makefile

# New ports collection makefile for: p5-ExtUtils-F77
# Date created: December 7 1999
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= ExtUtils-F77
PORTVERSION= 1.15
PORTREVISION= 2
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
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>