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

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

## Created by: Dan Siercks
## $FreeBSD$
#DISTVERSIONPREFIX=	v
## Requires libz
#PLIST_FILES=		bin/sickle
#do-install:
#	${INSTALL_PROGRAM} ${WRKSRC}/sickle \
#		${DESTDIR}${PREFIX}/bin
#.include <bsd.port.mk>

DISTNAME=	sickle-${PORTVERSION}
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_GITHUB:=najoshi/}
GITHUB_PROJECT=	sickle
GITHUB_TAG=	v${PORTVERSION}

MAINTAINER=	dsiercks@uwm.edu
HOMEPAGE=	https://github.com/najoshi/sickle
COMMENT=	Windowed adaptive trimming tool for FASTQ files using quality
# Check this
LICENSE=	gnu-gpl-v2

# Test and change if necessary.
# MAKE_JOBS_SAFE=	no

# Just assuming C and C++: Adjust this!
USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake

PORTVERSION=	1.33
#DATADIR=	${PREFIX}/share/sickle
#DOCSDIR=	${PREFIX}/share/doc/sickle

# 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
AUTO_MKDIRS=	yes
do-install:
#	${MKDIR} ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/sickle ${DESTDIR}${PREFIX}/bin


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