summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-11-01 10:49:14 +0000
committerobache <obache@pkgsrc.org>2009-11-01 10:49:14 +0000
commit78022a1941fc9381b86bc3139dfa8292b8e4e697 (patch)
tree1e5e2c1a62b73fec6ab95a791432c2a95f27a01b
parent9b156f2e4d3b99d8b9700c597b2409e2a9e457ae (diff)
downloadpkgsrc-78022a1941fc9381b86bc3139dfa8292b8e4e697.tar.gz
Some fixes and improvement
* no need USE_PKGLOCALEDIR=YES, no locale files * no need lex and yacc in USE_TOOLS, not using those tools. * change custum do-build target to empty BUILD_TARGET, to pass down environment variables and make flags from pkgsrc. * set LICENSE=gnu-gpl-v2 * add DESTDIR support, requested by PR 40989.
-rw-r--r--devel/makedepf90/Makefile10
-rw-r--r--devel/makedepf90/distinfo3
-rw-r--r--devel/makedepf90/patches/patch-aa21
3 files changed, 27 insertions, 7 deletions
diff --git a/devel/makedepf90/Makefile b/devel/makedepf90/Makefile
index 6ea01bfb9fb..0c6ea510f4d 100644
--- a/devel/makedepf90/Makefile
+++ b/devel/makedepf90/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/10/16 12:01:49 obache Exp $
+# $NetBSD: Makefile,v 1.3 2009/11/01 10:49:14 obache Exp $
#
DISTNAME= makedepf90-2.8.8
@@ -8,14 +8,12 @@ MASTER_SITES= http://www.helsinki.fi/~eedelman/makedepf90/
MAINTAINER= emil@math.su.se
HOMEPAGE= http://www.helsinki.fi/~eedelman/makedepf90/
COMMENT= Creates Makefile dependencies for Fortran code
+LICENSE= gnu-gpl-v2
-USE_TOOLS+= lex yacc
+PKG_DESTDIR_SUPPORT= user-destdir
-USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
-do-build:
- cd ${WRKSRC:Q} && make
-
+BUILD_TARGET= # empty
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/makedepf90/distinfo b/devel/makedepf90/distinfo
index d04754516b9..9173ce64ee9 100644
--- a/devel/makedepf90/distinfo
+++ b/devel/makedepf90/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2006/10/16 12:01:49 obache Exp $
+$NetBSD: distinfo,v 1.3 2009/11/01 10:49:14 obache Exp $
SHA1 (makedepf90-2.8.8.tar.gz) = bf79b561343f7dbcd740cc3d5487fe7a433197a5
RMD160 (makedepf90-2.8.8.tar.gz) = cedac48e0291c10d6157356e40cffeee50e93d41
Size (makedepf90-2.8.8.tar.gz) = 91473 bytes
+SHA1 (patch-aa) = 0e803fc3480c9d408d866aedf95f0b2b9989d15b
diff --git a/devel/makedepf90/patches/patch-aa b/devel/makedepf90/patches/patch-aa
new file mode 100644
index 00000000000..24e5cbf170f
--- /dev/null
+++ b/devel/makedepf90/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2009/11/01 10:49:14 obache Exp $
+
+add DESTDIR installation support.
+
+--- Makefile.in.orig 2006-06-13 08:27:28.000000000 +0000
++++ Makefile.in
+@@ -97,10 +97,10 @@ realclean: clean
+ rm -f lexer.c find_dep.[ch] .depend configure tags config.cache config.log config.status
+
+ install: $(PROG) makedepf90.1
+- $(INSTALL) -d $(bindir)
+- $(INSTALL_PROGRAM) $(PROG) $(bindir)
+- $(INSTALL) -d $(mandir)/man1
+- $(INSTALL_DATA) makedepf90.1 $(mandir)/man1
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
++ $(INSTALL) -d $(DESTDIR)$(mandir)/man1
++ $(INSTALL_DATA) makedepf90.1 $(DESTDIR)$(mandir)/man1
+ install-strip: $(PROG) makedepf90.1
+ $(INSTALL) -d $(bindir)
+ $(INSTALL_PROGRAM) -s $(PROG) $(bindir)