2011-08-24 15:29:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2011/08/24 19:29:24 naddy Exp $
|
2004-10-20 21:41:22 -04:00
|
|
|
|
2007-06-11 17:02:40 -04:00
|
|
|
COMMENT= record and analyze your meals for nutrient composition
|
2004-10-20 21:41:22 -04:00
|
|
|
|
2011-07-08 18:11:48 -04:00
|
|
|
V= 16.12
|
2010-08-17 23:00:40 -04:00
|
|
|
DISTNAME= nut-${V}
|
|
|
|
PKGNAME= nutdb-${V}
|
2011-08-24 15:29:24 -04:00
|
|
|
REVISION= 0
|
2004-10-20 21:41:22 -04:00
|
|
|
CATEGORIES= biology
|
2008-09-22 04:13:28 -04:00
|
|
|
HOMEPAGE= http://nut.sourceforge.net/
|
2004-10-20 21:41:22 -04:00
|
|
|
|
2011-04-15 17:10:27 -04:00
|
|
|
# GPLv2+
|
2004-10-20 21:41:22 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2011-04-15 17:10:27 -04:00
|
|
|
|
2004-11-21 13:03:29 -05:00
|
|
|
WANTLIB= c m
|
2004-10-20 21:41:22 -04:00
|
|
|
|
2008-04-11 05:15:49 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
|
2004-10-20 21:41:22 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2011-07-08 18:11:48 -04:00
|
|
|
MAKE_FLAGS+= CC="${CC}" prefix=${PREFIX}
|
2004-10-20 21:41:22 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2010-08-17 23:00:40 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/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
|
|
|
|
|
2004-10-20 21:41:22 -04:00
|
|
|
.include <bsd.port.mk>
|