blob: aaf1bd77f0bcded2f55c544922d0b548e9fec99f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.30 2020/01/26 05:26:15 rillig Exp $
DISTNAME= nut-15.8
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
LICENSE= gnu-gpl-v2
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 share/doc/nut share/nut
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/raw.data/* ${DESTDIR}${PREFIX}/share/nut
${INSTALL_DATA} ${WRKSRC}/nut.html ${DESTDIR}${PREFIX}/share/doc/nut
.include "../../mk/bsd.pkg.mk"
|