0982effce2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
32 lines
809 B
Makefile
32 lines
809 B
Makefile
# $NetBSD: Makefile,v 1.29 2015/06/12 10:50:15 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= fort77-1.18
|
|
PKGREVISION= 6
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=devel/lang/fortran/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= The driver for f2c, a fortran to C translator
|
|
|
|
DEPENDS+= f2c-[0-9]*:../../lang/f2c
|
|
|
|
USE_TOOLS+= perl:run
|
|
NO_BUILD= yes
|
|
TEST_TARGET= test
|
|
|
|
REPLACE_PERL= fort77 tests/test.pl
|
|
|
|
SUBST_CLASSES+= perl
|
|
SUBST_STAGE.perl= pre-configure
|
|
SUBST_FILES.perl= fort77 tests/test.pl
|
|
SUBST_SED.perl= -e 's,/usr/bin/perl,${PERL5},'
|
|
|
|
INSTALLATION_DIRS= bin $(PKGMANDIR)/man1
|
|
|
|
do-install:
|
|
$(INSTALL_SCRIPT) $(WRKSRC)/fort77 $(DESTDIR)$(PREFIX)/bin
|
|
$(INSTALL_DATA) $(WRKSRC)/fort77.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
|
|
|
|
.include "../../devel/libf2c/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|