Remove biology/nutdb

It fails to build with "-fno-common" and HOMEPAGE indicates that it's
no longer being worked on.

The website points at https://cronometer.com/ (website / mobile app) to be
used in the interim until upstream's NUT rewrite is done.

There is NUTsqlite on the sourceforge site's files section, not sure
but perhaps that is the rewrite talked about on the website. It is
written in Tcl/Tk. (thanks sthen)

OK sthen
This commit is contained in:
kn 2021-01-30 14:27:32 +00:00
parent d4b19362dd
commit 496a7504b0
8 changed files with 6 additions and 73 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2020/12/30 15:55:46 sthen Exp $ # $OpenBSD: Makefile,v 1.12 2021/01/30 14:27:32 kn Exp $
SUBDIR = SUBDIR =
SUBDIR += AcePerl SUBDIR += AcePerl
@ -6,7 +6,6 @@
SUBDIR += bioperl SUBDIR += bioperl
SUBDIR += emboss SUBDIR += emboss
SUBDIR += hmmer SUBDIR += hmmer
SUBDIR += nutdb
SUBDIR += p5-Bio-ASN1-EntrezGene SUBDIR += p5-Bio-ASN1-EntrezGene
SUBDIR += p5-Bio-Cluster SUBDIR += p5-Bio-Cluster
SUBDIR += p5-Bio-DB-EMBL SUBDIR += p5-Bio-DB-EMBL

View File

@ -1,44 +0,0 @@
# $OpenBSD: Makefile,v 1.39 2019/07/12 20:43:43 sthen Exp $
COMMENT= record and analyze your meals for nutrient composition
V= 20.1
REVISION= 2
DISTNAME= nut-${V}
PKGNAME= nutdb-${V}
CATEGORIES= biology
HOMEPAGE= http://nut.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB += X11 Xau Xcursor Xdmcp Xext Xfixes Xft Xpm Xinerama
WANTLIB += c fltk fontconfig m pthread ${COMPILER_LIBCXX}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
COMPILER = base-clang ports-gcc base-gcc
NO_TEST= Yes
LIB_DEPENDS= x11/fltk
MAKE_FLAGS+= CC="${CC}" \
CXX="${CXX}" \
OPT="" \
prefix=${PREFIX} \
libdir=${PREFIX}/lib/nutdb
USE_GMAKE= Yes
pre-configure:
perl -pi -e 's,\b(?:nut)\b,nutdb,g;s,\b(?:NUT)\b,NUTDB,g' ${WRKSRC}/nut.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${PREFIX}/bin/nutdb
${INSTALL_PROGRAM} ${WRKSRC}/fltk/Nut ${PREFIX}/bin/Nutdb
${INSTALL_MAN} ${WRKSRC}/nut.1 ${PREFIX}/man/man1/nutdb.1
${INSTALL_DATA_DIR} ${PREFIX}/lib/nutdb
${INSTALL_DATA} ${WRKSRC}/raw.data/* ${PREFIX}/lib/nutdb
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (nut-20.1.tar.gz) = P4xkhmnU6a86doT/+3S677BPKb/lqEess6qd81QMTHw=
SIZE (nut-20.1.tar.gz) = 1441077

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-Makefile,v 1.13 2015/05/09 08:31:34 jasper Exp $
--- Makefile.orig Sat May 9 10:10:14 2015
+++ Makefile Sat May 9 10:10:51 2015
@@ -28,7 +28,7 @@ endif
ifeq ($(OS),HP-UX)
CFLAGS := $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
else
-CFLAGS := $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
+CFLAGS += $(OPT) -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
endif
CXXFLAGS := $(CFLAGS) `fltk-config --cxxflags`

View File

@ -1,3 +0,0 @@
NUTDB allows you to record what you eat and analyze your meals for
nutrient composition. The database included is the USDA Nutrient
Database for Standard Reference, Release 23.

View File

@ -1,7 +0,0 @@
@comment $OpenBSD: PLIST,v 1.11 2015/05/09 08:31:34 jasper Exp $
@bin bin/Nutdb
@bin bin/nutdb
lib/nutdb/
lib/nutdb/WEIGHT.lib
lib/nutdb/sr27.nut
@man man/man1/nutdb.1

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1140 2021/01/30 14:14:38 kn Exp $ # $OpenBSD: Makefile,v 1.1141 2021/01/30 14:27:32 kn Exp $
COMMENT = exceptions to pkg_add rules COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases CATEGORIES = devel databases
DISTFILES = DISTFILES =
# API.rev # API.rev
PKGNAME = quirks-3.528 PKGNAME = quirks-3.529
PKG_ARCH = * PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org> MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl #! /usr/bin/perl
# ex:ts=8 sw=4: # ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1156 2021/01/30 14:14:38 kn Exp $ # $OpenBSD: Quirks.pm,v 1.1157 2021/01/30 14:27:33 kn Exp $
# #
# Copyright (c) 2009 Marc Espie <espie@openbsd.org> # Copyright (c) 2009 Marc Espie <espie@openbsd.org>
# #
@ -2060,6 +2060,7 @@ my $obsolete_reason = {
'py-vorbis' => 31, 'py-vorbis' => 31,
'py-ogg' => 31, 'py-ogg' => 31,
'sattrack' => 32, 'sattrack' => 32,
'sattrack' => 33,
}; };
# reasons for obsolete packages # reasons for obsolete packages
@ -2097,6 +2098,7 @@ my @msg = (
"crashes in many different ways at runtime, does not build with '-fno-common'", #30 "crashes in many different ways at runtime, does not build with '-fno-common'", #30
"upstream is dead, python2-only, nothing uses it", #31 "upstream is dead, python2-only, nothing uses it", #31
"no more public distfiles, license forbids distributing package due to local changes", #32 "no more public distfiles, license forbids distributing package due to local changes", #32
"no longer maintained upstream, website suggests https://cronometer.com until rewrite is done", #33
); );
# ->is_base_system($handle, $state): # ->is_base_system($handle, $state):