2c581bd82c
Pkgsrc changes: Add DESTDIR support. Recent changes (cannot available changes from 10.18 to 12.6 anymore). 13.2: This release makes minor changes to the analysis reset and food suggestion functions. 13.1: This release changes some fatty acid defaults to allow more saturated fat when eating low-carb, and to raise the maximum amount of long-chain Omega-3. 13.0: This release introduces the new USDA Nutrient Database SR20 and allows current NUT installations to have their existing meal records reinterpreted with the new database. 12.7: This release uses a new food name abbreviation algorithm so that food names are more informative and less cryptic.
29 lines
815 B
Makefile
29 lines
815 B
Makefile
# $NetBSD: Makefile,v 1.25 2008/01/30 05:43:55 obache Exp $
|
|
|
|
DISTNAME= nut-13.2
|
|
CATEGORIES= biology
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://nut.sourceforge.net/
|
|
COMMENT= Record what you eat and analyze your meals
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_TARGET= nut
|
|
USE_TOOLS+= gmake
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= pre-build
|
|
SUBST_FILES.path= Makefile
|
|
SUBST_SED.path= -e 's|/usr/local/lib|${PREFIX}/share|g'
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
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_MAN} ${WRKSRC}/nut.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|