82a87de90c
Mk/Uses/linux.mk. - Replace USE_LINUX=yes with USES+=linux and USE_LINUX=(.*) with USES+=linux:\1 in all ports. - Replace USE_LINUX_APPS with USE_LINUX in all ports. - Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to install scripts in some ports. - When USE_LINUX_RPM is defined, simplify the way DISTFILES and EXTRACT_ONLY are defined. - Remove BRANDELF_DIRS and BRANDELF_FILES handling. In the very rare cases that it is still necessary ports can run ${BRANDELF} from post-patch. - Remove AUTOMATIC_PLIST handling. Only one port used it. - Fix Linux MASTER_SITES. - Replace OVERRIDE_LINUX_BASE_PORT and OVERRIDE_LINUX_NONBASE_PORTS with default versions framework. - bsd.port.mk: - Move Linux related bits to Uses/linux.mk, except USE_LINUX_PREFIX. - Put USE_LINUX_PREFIX handling after USES processing. - Define DOCSDIR, DATADIR, etc. after handling USE_LINUX_PREFIX so it can give these variables a different default value. - When a package needs to run Linux ldconfig check before installation if Linux support is enabled. - emulators/linux_base-*: - Use USES=linux and remove duplication. - Remove files/lp. FreeBSD or CUPS lp(1) should work. - Remove files/yp.conf. No longer seems to be used. - Remove pkg-deinstall and move pkg-install into pkg-plist. - Update pkg-descr and pkg-message. - Fix handling of ldconfig cache in pkg-plist. - devel/fb-adb: Use a Linux shell to run a Linux script but patch the script to use FreeBSD mkdir so mkdir -p $path creates $path and not /compat/linux/$path. PR: 211645 Exp-run by: antoine Approved by: portmgr (antoine)
82 lines
2.3 KiB
Makefile
82 lines
2.3 KiB
Makefile
# Created by: Motomichi Matsuzaki <mzaki@biol.s.u-tokyo.ac.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= consed
|
|
PORTVERSION= 27.0
|
|
CATEGORIES= biology
|
|
# MASTER_SITES= http://www.phrap.org/consed/distributions/${PORTVERSION}/
|
|
# MASTER_SITES= http://bozeman.mbt.washington.edu/consed/distributions/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}_linux
|
|
|
|
MAINTAINER= mzaki@m.u-tokyo.ac.jp
|
|
COMMENT= Graphical tool for editing Phrap assemblies
|
|
|
|
RUN_DEPENDS= phred:biology/phred \
|
|
phrap:biology/phrap
|
|
|
|
CONFLICTS_INSTALL= phd2fasta-[0-9]*
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USES= linux perl5 shebangfix
|
|
USE_LINUX= xorglibs
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
MYSHEBANG= bin/ace2Fasta.perl \
|
|
bin/tagRepeats.perl \
|
|
bin/selectRegions.perl \
|
|
bin/selectOneRegion.perl \
|
|
bin/revertToUneditedRead \
|
|
bin/removeReads \
|
|
bin/phredPhrap.orig \
|
|
bin/phredPhrap \
|
|
bin/phd2Ace.perl \
|
|
bin/orderPrimerPairs.perl \
|
|
bin/makeRegionsFile.perl \
|
|
bin/makePhdBall.perl \
|
|
bin/lib2Phd.perl \
|
|
bin/fixContigEnd.perl \
|
|
bin/findSequenceMatchesForConsed.perl \
|
|
bin/revert_fof \
|
|
bin/filter454Reads.perl \
|
|
bin/fastq2Phrap.perl \
|
|
bin/fasta2PhdBall.perl \
|
|
bin/fasta2Phd.perl \
|
|
bin/fasta2Ace.perl \
|
|
bin/determineReadTypes.perl \
|
|
bin/countEditedBases.perl \
|
|
bin/bam2Ace.perl \
|
|
bin/amplifyTranscripts.perl \
|
|
bin/alignSolexaReads2Refs.perl \
|
|
bin/alignRNA2Genomic.perl \
|
|
bin/addSolexaReads.perl \
|
|
bin/addSangerReads.perl \
|
|
bin/addReads2Consed.perl \
|
|
bin/add454Reads.perl \
|
|
bin/ace2Oligos.perl \
|
|
bin/transferConsensusTags.perl \
|
|
bin/ace2fof \
|
|
bin/ace2OligosWithComments.perl \
|
|
bin/sff2phd.perl \
|
|
bin/recover_consensus_tags \
|
|
bin/phredPhrapWithPhdBalls \
|
|
bin/cons.perl \
|
|
bin/acestatus.pl \
|
|
bin/aceContigs2Phds.perl \
|
|
bin/sff2phd_Samborskyy
|
|
|
|
RESTRICTED= Redistribution is not permitted in any form. You must request access permission via e-mail to get the tarball. Free for academic use.
|
|
.if defined(PACKAGE_BUILDING)
|
|
IGNORE= distribution files must be obtained via the authors
|
|
.endif
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${LN} -sf ../../bin ${STAGEDIR}${DATADIR}/bin
|
|
(cd ${WRKSRC}; ${SETENV} CC=${CC} ./installConsed.perl consed_linux32bit ${STAGEDIR}${DATADIR})
|
|
${LN} -sf ../../../etc/PhredPar/phredpar.dat ${STAGEDIR}${DATADIR}/lib/phredpar.dat
|
|
cd ${STAGEDIR}${PREFIX} && ${ECHO_CMD} ${MYSHEBANG} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS}
|
|
|
|
.include <bsd.port.mk>
|