mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
1e60866cc1
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many miscellaneous modifications. I used more excessive hacks to force p5-Jcode and p5-WWW-Search to respect CC/CFLAGS. Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
37 lines
706 B
Makefile
37 lines
706 B
Makefile
# New ports collection makefile for: p5-ExtUtils-F77
|
|
# Date created: December 7 1999
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ExtUtils-F77
|
|
PORTVERSION= 1.12
|
|
CATEGORIES= lang perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= ExtUtils
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
USE_PERL5= yes
|
|
|
|
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:
|
|
@cd ${WRKSRC}; ${PERL5} -i.orig -pe \
|
|
's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
.include <bsd.port.post.mk>
|