2011-11-28 05:18:53 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2011/11/28 10:18:53 sthen 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-11-28 05:18:53 -05:00
|
|
|
REVISION= 1
|
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
|
|
|
|
2011-11-28 05:18:53 -05:00
|
|
|
WANTLIB += X11 Xau Xdmcp Xext c fltk m pthread stdc++
|
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-11-28 05:18:53 -05:00
|
|
|
LIB_DEPENDS= x11/fltk
|
|
|
|
|
|
|
|
MAKE_FLAGS+= CC="${CC}" \
|
|
|
|
prefix=${PREFIX} \
|
|
|
|
libdir=${PREFIX}/lib/nutdb
|
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
|
2011-11-28 05:18:53 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fltk/Nut ${PREFIX}/bin/Nutdb
|
2010-08-17 23:00:40 -04:00
|
|
|
${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>
|