pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/f2c Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d183f1ddf7f9
branches: trunk
changeset: 532330:d183f1ddf7f9
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 16 00:31:21 2007 +0000
description:
Add DESTDIR support.
diffstat:
lang/f2c/Makefile | 6 +++++-
lang/f2c/distinfo | 4 ++--
lang/f2c/patches/patch-aa | 28 ++++++++++++++--------------
3 files changed, 21 insertions(+), 17 deletions(-)
diffs (84 lines):
diff -r f1a7c7a33b13 -r d183f1ddf7f9 lang/f2c/Makefile
--- a/lang/f2c/Makefile Thu Aug 16 00:23:09 2007 +0000
+++ b/lang/f2c/Makefile Thu Aug 16 00:31:21 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2007/06/17 21:24:41 minskim Exp $
+# $NetBSD: Makefile,v 1.41 2007/08/16 00:31:21 joerg Exp $
DISTNAME= f2c-20001205
PKGREVISION= 9
@@ -22,6 +22,8 @@
HOMEPAGE= http://www.netlib.org/f2c/index.html
COMMENT= Fortran to C compiler including a script to emulate f77
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= egcs-current-19980608
F2CMAJOR= 0
@@ -36,6 +38,8 @@
USE_LIBTOOL= yes
USE_TOOLS+= gunzip
+INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1
+
# work around a problem gunzipping 00lastchange.gz with
# some versions of zlib found on NetBSD and also Gentoo
post-extract:
diff -r f1a7c7a33b13 -r d183f1ddf7f9 lang/f2c/distinfo
--- a/lang/f2c/distinfo Thu Aug 16 00:23:09 2007 +0000
+++ b/lang/f2c/distinfo Thu Aug 16 00:31:21 2007 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.17 2007/03/17 16:10:13 rillig Exp $
+$NetBSD: distinfo,v 1.18 2007/08/16 00:31:22 joerg Exp $
SHA1 (f2c-20001205.tar.gz) = f3cc1653eb962fee45d850df50890fc53448a17f
RMD160 (f2c-20001205.tar.gz) = b376105c33ca53df46cab458082b26dbc9a53762
Size (f2c-20001205.tar.gz) = 988607 bytes
-SHA1 (patch-aa) = 393fd165e886f9855eb043957049dea3b061e775
+SHA1 (patch-aa) = f9598998d662f74225a64fb019ddaf1e08bb16aa
SHA1 (patch-ab) = 97c676fa452daa674e11348412ccb26d38a7baa4
SHA1 (patch-ad) = 7f204a45891e3632589ea8fb0e4e379a0a792dea
SHA1 (patch-ae) = f17254cab1449273ca44e652ed2f1a586a9a3e19
diff -r f1a7c7a33b13 -r d183f1ddf7f9 lang/f2c/patches/patch-aa
--- a/lang/f2c/patches/patch-aa Thu Aug 16 00:23:09 2007 +0000
+++ b/lang/f2c/patches/patch-aa Thu Aug 16 00:31:21 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.16 2007/03/17 16:10:13 rillig Exp $
+$NetBSD: patch-aa,v 1.17 2007/08/16 00:31:22 joerg Exp $
--- Makefile.orig Tue Sep 14 16:47:52 2004
+++ Makefile
@@ -30,19 +30,19 @@
+
+
+install::
-+ -@mkdir -p ${PREFIX}/bin
-+ ${BSD_INSTALL_PROGRAM} ./src/f2c ${PREFIX}/bin
-+ ${BSD_INSTALL_SCRIPT} ./f2c-f77 ${PREFIX}/bin
-+ -@mkdir -p ${PREFIX}/lib
-+ @cd libI77 && ${MAKE} install LIBDIR=${PREFIX}/lib
-+ @cd libF77 && ${MAKE} install LIBDIR=${PREFIX}/lib
-+ -@mkdir -p ${PREFIX}/include
-+ ${BSD_INSTALL_DATA} ./f2c.h ${PREFIX}/include
-+ -@mkdir -p ${PREFIX}/share/doc/f2c
-+ ${BSD_INSTALL_DATA} ./f2c.ps ${PREFIX}/share/doc/f2c
-+ ${BSD_INSTALL_DATA} ./changes ${PREFIX}/share/doc/f2c
-+ ${BSD_INSTALL_MAN} ./f2c.1 ${PREFIX}/${PKGMANDIR}/man1
-+ ${BSD_INSTALL_MAN} ./f2c.0 ${PREFIX}/${PKGMANDIR}/cat1
++ -@mkdir -p ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_PROGRAM} ./src/f2c ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_SCRIPT} ./f2c-f77 ${DESTDIR}${PREFIX}/bin
++ -@mkdir -p ${DESTDIR}${PREFIX}/lib
++ @cd libI77 && ${MAKE} install LIBDIR=${DESTDIR}${PREFIX}/lib
++ @cd libF77 && ${MAKE} install LIBDIR=${DESTDIR}${PREFIX}/lib
++ -@mkdir -p ${DESTDIR}${PREFIX}/include
++ ${BSD_INSTALL_DATA} ./f2c.h ${DESTDIR}${PREFIX}/include
++ -@mkdir -p ${DESTDIR}${PREFIX}/share/doc/f2c
++ ${BSD_INSTALL_DATA} ./f2c.ps ${DESTDIR}${PREFIX}/share/doc/f2c
++ ${BSD_INSTALL_DATA} ./changes ${DESTDIR}${PREFIX}/share/doc/f2c
++ ${BSD_INSTALL_MAN} ./f2c.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
++ ${BSD_INSTALL_MAN} ./f2c.0 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1
+
+f2c-f77: ${F2C_F77_IN} f2c hello.f
+ ./src/f2c -Aw8 -Nn802 -Nx400 hello.f
Home |
Main Index |
Thread Index |
Old Index