openbsd-ports/biology/nutdb/Makefile

40 lines
903 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.29 2011/11/28 10:18:53 sthen Exp $
2007-06-11 17:02:40 -04:00
COMMENT= record and analyze your meals for nutrient composition
2011-07-08 18:11:48 -04:00
V= 16.12
DISTNAME= nut-${V}
PKGNAME= nutdb-${V}
REVISION= 1
CATEGORIES= biology
HOMEPAGE= http://nut.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xdmcp Xext c fltk m pthread stdc++
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
NO_REGRESS= Yes
LIB_DEPENDS= x11/fltk
MAKE_FLAGS+= CC="${CC}" \
prefix=${PREFIX} \
libdir=${PREFIX}/lib/nutdb
USE_GMAKE= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${PREFIX}/bin/nutdb
${INSTALL_PROGRAM} ${WRKSRC}/fltk/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
.include <bsd.port.mk>