openbsd-ports/biology/nutdb/Makefile
2011-08-24 19:29:24 +00:00

35 lines
746 B
Makefile

# $OpenBSD: Makefile,v 1.28 2011/08/24 19:29:24 naddy Exp $
COMMENT= record and analyze your meals for nutrient composition
V= 16.12
DISTNAME= nut-${V}
PKGNAME= nutdb-${V}
REVISION= 0
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= c m
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
NO_REGRESS= Yes
MAKE_FLAGS+= CC="${CC}" prefix=${PREFIX}
USE_GMAKE= Yes
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
.include <bsd.port.mk>