# $NetBSD$
#
###########################################################
#               Generated by fbsd2pkg                     #
###########################################################

###########################################################
# Unconverted and partially converted FreeBSD port syntax:

## Created by: Jason Bacon <bacon4000@gmail.com>
## $FreeBSD$
#USE_LDCONFIG=	yes
#post-stage:
#	${MV} ${DESTDIR}${PREFIX}/lib/pkgconfig/* \
#		${DESTDIR}${PREFIX}/libdata/pkgconfig
#.include <bsd.port.mk>

DISTNAME=	jellyfish-${PORTVERSION}
CATEGORIES=	biology
MASTER_SITES=	ftp://ftp.genome.umd.edu/pub/jellyfish/

MAINTAINER=	dsiercks@uwm.edu
HOMEPAGE=	http://www.genome.umd.edu/jellyfish.html
COMMENT=	Fast, memory-efficient counting of k-mers in DNA
# Check this
LICENSE=	gnu-gpl-v3

# FIXME: Only for amd64
# Test and change if necessary.
# MAKE_JOBS_SAFE=	no

# Just assuming C and C++: Adjust this!
USE_LANGUAGES=	c c++
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes

CFLAGS=		-fopenmp 

CXXFLAGS+=	-std=c++0x

FFLAGS=		-fopenmp 

PORTVERSION=	2.2.0
DATADIR=	${PREFIX}/share/jellyfish
DOCSDIR=	${PREFIX}/share/doc/jellyfish

# Sets OPSYS, OS_VERSION, MACHINE_ARCH, etc..
# .include "../../mk/bsd.prefs.mk"

# Keep this if there are user-selectable options.
# .include "options.mk"

# Specify which directories to create before install.
# You should only need this if using your own install target.
INSTALLATION_DIRS=	bin lib ${PKGMANDIR}/man1 share/doc share/examples

# Linux doesn't have zlib in the base, so just in case...
# .include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
