pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43776: Update biology/nut to 15.7
>Number: 43776
>Category: pkg
>Synopsis: Update biology/nut to 15.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 18 00:00:00 +0000 2010
>Originator: Derouiche
>Release: NetBSD 5.0.2
>Organization:
>Environment:
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27 UTC 2010
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
pkgsrc-changes:
==============
o update version to 15.7
o change raw.data directory target share/examples/nut
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig 2010-08-17 23:13:09.000000000 +0000
+++ Makefile 2010-08-18 00:52:50.000000000 +0000
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.25 2008/01/30 05:43:55 obache Exp $
+# $NetBSD$
+#
-DISTNAME= nut-14.4
+DISTNAME= nut-15.7
CATEGORIES= biology
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
+MASTER_SITES= http://garr.dl.sourceforge.net/project/nut/nut/15.7/
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://nut.sourceforge.net/
COMMENT= Record what you eat and analyze your meals
LICENSE= gnu-gpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= nut
@@ -19,12 +21,11 @@
SUBST_FILES.path= Makefile
SUBST_SED.path= -e 's|/usr/local/lib|${PREFIX}/share|g'
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/nut
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/nut
- ${INSTALL_DATA} ${WRKSRC}/raw.data/* ${DESTDIR}${PREFIX}/share/nut
+ ${INSTALL_DATA} ${WRKSRC}/raw.data/*
${DESTDIR}${PREFIX}/share/examples/nut
${INSTALL_MAN} ${WRKSRC}/nut.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
$ diff PLIST.orig PLIST
1c1
< @comment $NetBSD: PLIST,v 1.6 2009/06/14 17:34:34 joerg Exp $
---
> @comment $NetBSD$
4,8c4,8
< share/nut/FOOD_DES.txt
< share/nut/NUT_DATA.txt
< share/nut/WEIGHT.lib
< share/nut/WEIGHT.txt
< share/nut/sr21.nut
---
> share/examples/nut/FOOD_DES.txt
> share/examples/nut/NUT_DATA.txt
> share/examples/nut/WEIGHT.lib
> share/examples/nut/WEIGHT.txt
> share/examples/nut/sr22.nut
Home |
Main Index |
Thread Index |
Old Index