From 397f8a9f96cedf6c73ed8d3330489a82cf16c93a Mon Sep 17 00:00:00 2001 From: asau Date: Thu, 11 Mar 2010 18:55:34 +0000 Subject: Don't run tests at build time. Fixes PR pkg/42955 The package is inherently broken though, there is little reason to keep it these days anyway. I suggest you don't use it like all the world around. --- lang/fort77/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lang/fort77') diff --git a/lang/fort77/Makefile b/lang/fort77/Makefile index 6db70df5670..de8d0afa997 100644 --- a/lang/fort77/Makefile +++ b/lang/fort77/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2009/12/15 17:27:13 asau Exp $ +# $NetBSD: Makefile,v 1.24 2010/03/11 18:55:34 asau Exp $ # DISTNAME= fort77-1.18 @@ -13,8 +13,9 @@ DEPENDS+= f2c-[0-9]*:../../lang/f2c PKG_DESTDIR_SUPPORT= user-destdir -BUILD_TARGET= test USE_TOOLS+= perl:run +NO_BUILD= yes +TEST_TARGET= test REPLACE_PERL= fort77 tests/test.pl @@ -23,8 +24,11 @@ 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 +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" -- cgit v1.2.3