2010-12-01 03:40:16 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2010/12/01 08:40:16 jasper 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
|
|
|
|
2010-12-01 03:40:16 -05:00
|
|
|
V= 16.0
|
2010-08-17 23:00:40 -04:00
|
|
|
DISTNAME= nut-${V}
|
|
|
|
PKGNAME= nutdb-${V}
|
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
|
|
|
|
2008-04-11 05:15:49 -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
|
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
|
|
|
|
2010-10-18 12:52:44 -04:00
|
|
|
USE_GROFF = Yes
|
2004-10-20 21:41:22 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2004-12-25 14:35:34 -05:00
|
|
|
ALL_TARGET= nut
|
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>
|