summaryrefslogtreecommitdiff
path: root/lang/fort77
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-03-11 18:55:34 +0000
committerasau <asau@pkgsrc.org>2010-03-11 18:55:34 +0000
commitcda54e1796fd600a090384f372bc04f50cc54230 (patch)
tree9e381fa4ea8c8f4cf79b7bdb23b6cdb9f6475620 /lang/fort77
parentbcd887b4dbac3f7e3d98dda660b52ee72734738d (diff)
downloadpkgsrc-cda54e1796fd600a090384f372bc04f50cc54230.tar.gz
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.
Diffstat (limited to 'lang/fort77')
-rw-r--r--lang/fort77/Makefile12
1 files changed, 8 insertions, 4 deletions
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"