1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/biology/tRNAscan-SE/Makefile
Martin Wilke 21d58ada23 - Update MASTER_SITES and WWW: line
- Support CC/CFLAGS properly
- Strip binary

PR:		123866
Submitted by:	Ports Fury
2008-05-22 00:49:42 +00:00

52 lines
1.2 KiB
Makefile

# New ports collection makefile for: tRNAscan-SE
# Date created: 15 Jan 2002
# Whom: chuynh@biolateral.com.au
#
# $FreeBSD$
#
PORTNAME= tRNAscan-SE
PORTVERSION= 1.23
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= ftp://selab.janelia.org/pub/software/tRNAscan-SE/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= An improved tool for transfer RNA detection
USE_PERL5= yes
MAKE_ARGS= BINDIR="${PREFIX}/bin" \
LIBDIR="${DATADIR}" \
CC="${CC}" \
CFLAGS="${CFLAGS}"
MAN1= tRNAscan-SE.1
post-patch:
@${REINPLACE_CMD} -e 's|tRNAscanSE setpaths|tRNAscanSE|g ; \
s|if tRNAscan-SE|if ./tRNAscan-SE|g' ${WRKSRC}/Makefile
do-install:
.for f in covels-SE coves-SE eufindtRNA trnascan-1.4
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/tRNAscan-SE ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tRNAscan-SE.man ${MANPREFIX}/man/man1/tRNAscan-SE.1
@${MKDIR} ${DATADIR}
.for f in TPCsignal Dsignal *.cm gcode.*
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
#
# have to install before testing as path to data files is hardcoded
#
post-install:
@ cd ${WRKSRC} && $(MAKE) testrun
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Manual.ps ${DOCSDIR}
.endif
.include <bsd.port.mk>