Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,12 +1,18 @@
# $NetBSD: Makefile,v 1.20.8.2 2013/07/17 12:43:31 gdt Exp $
# $NetBSD: Makefile,v 1.21 2013/07/17 12:45:19 gdt Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_NETLIB:=paranoia/}
EXTRACT_SUFX= .c
MAINTAINER= pkgsrc-users@NetBSD.org
# Not really the HOMEPAGE:
# HOMEPAGE= http://people.sc.fsu.edu/~jburkardt/c_src/paranoia/paranoia.html
# An alteranative MASTER_SITE:
# http://people.sc.fsu.edu/~jburkardt/c_src/paranoia/paranoia.c
MAINTAINER= gdt@NetBSD.org
COMMENT= Highly paranoid test of IEEE 754 conformance
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -15,8 +21,12 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
# The use of -ffloat-store in CFLAGS is controversial. The point of
# the program is to test the compiler/machine environment, and
# therefore this Makefile should not set non-default flags.
do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -ffloat-store -o paranoia paranoia.c -lm)
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -o paranoia paranoia.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${DESTDIR}${PREFIX}/bin