1999-12-07 16:17:41 -05:00
|
|
|
# New ports collection makefile for: p5-ExtUtils-F77
|
|
|
|
# Date created: December 7 1999
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-06-16 22:37:15 -04:00
|
|
|
PORTNAME= ExtUtils-F77
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTVERSION= 1.12
|
1999-12-07 16:17:41 -05:00
|
|
|
CATEGORIES= lang perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= ExtUtils
|
2000-06-16 22:37:15 -04:00
|
|
|
PKGNAMEPREFIX= p5-
|
1999-12-07 16:17:41 -05:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
2000-06-16 22:37:15 -04:00
|
|
|
USE_PERL5= yes
|
1999-12-07 16:17:41 -05:00
|
|
|
|
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
MAN3= ExtUtils::F77.3
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400005
|
|
|
|
F2CLIB= -lg2c
|
|
|
|
.else
|
|
|
|
F2CLIB= -lf2c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2000-06-16 22:37:15 -04:00
|
|
|
@cd ${WRKSRC}; ${PERL5} -i.orig -pe \
|
|
|
|
's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm
|
1999-12-07 16:17:41 -05:00
|
|
|
|
|
|
|
do-configure:
|
2000-06-16 22:37:15 -04:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
1999-12-07 16:17:41 -05:00
|
|
|
|
2000-01-07 11:40:17 -05:00
|
|
|
.include <bsd.port.post.mk>
|