File:  [cvs.NetBSD.org] / pkgsrc / lang / fort77 / Makefile
Revision 1.20: download - view: text, annotated - select for diffs
Thu Feb 28 11:58:48 2008 UTC (17 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, HEAD
Replaced the deprecated INSTALLATION_DIRS_FROM_PLIST with AUTO_MKDIRS,
to shut up the pkglint warnings.

# $NetBSD: Makefile,v 1.20 2008/02/28 11:58:48 rillig Exp $
#

DISTNAME=		fort77-1.18
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

BUILD_TARGET=		test
USE_TOOLS+=		perl:run

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},'

INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX} MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
AUTO_MKDIRS=			yes

.include "../../lang/f2c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>