b6b853727d
framework. The list of changes include: * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES, so we no longer need to say it in package Makefiles. Packages should now append to USE_LANGUAGES instead of setting it. * Create mk/compiler/f2c.mk which implements another pseudo-compiler "f2c" that may be used with any C compiler backend, e.g. PKGSRC_COMPILER= f2c ccache gcc * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk, etc., to use f2c if the native Fortran compiler isn't present. Packages that use Fortran should now simply include the line: USE_LANGUAGES+= fortran in the package Makefile.
22 lines
548 B
Makefile
22 lines
548 B
Makefile
# $NetBSD: Makefile,v 1.13 2005/01/12 15:32:00 jlam Exp $
|
|
|
|
DISTNAME= fftpack-20001130
|
|
PKGREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Single precision Fortran FFT subroutines
|
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
USE_LANGUAGES= fortran
|
|
WRKSRC= ${WRKDIR}/fftpack
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fftpack
|
|
${INSTALL_DATA} ${WRKSRC}/doc ${PREFIX}/share/doc/fftpack
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|