blob: abb6f6ff54a52d7a7d462eeacf299b962b292358 (
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
28
29
|
# $NetBSD: Makefile,v 1.27 2010/09/19 07:52:19 obache 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
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 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"
|