diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-09-17 23:31:09 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-09-17 23:31:09 +0800 |
commit | 2eff5a9143af2b959331978f9f53d2dfbc45d52f (patch) | |
tree | 51a5be60e9c32eccf1baa3feeed02bb7be62d6d2 /biology/primer3/Makefile | |
parent | 74378b4075c6e6dbcf200cac85d8b8e39b3f2102 (diff) | |
download | freebsd-ports-graphics-2eff5a9143af2b959331978f9f53d2dfbc45d52f.tar.gz freebsd-ports-graphics-2eff5a9143af2b959331978f9f53d2dfbc45d52f.tar.zst freebsd-ports-graphics-2eff5a9143af2b959331978f9f53d2dfbc45d52f.zip |
add primer3 0.9
Primer3 helps to choose primers for PCR reactions
PR: 35298
Submitted by: Tony Maher <tonym@biolateral.com.au>
Diffstat (limited to 'biology/primer3/Makefile')
-rw-r--r-- | biology/primer3/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/biology/primer3/Makefile b/biology/primer3/Makefile new file mode 100644 index 00000000000..077940ab896 --- /dev/null +++ b/biology/primer3/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: primer3 +# Date created: 25 February 2002 +# Whom: Tony Maher <tonym@biolateral.com.au> +# +# $FreeBSD$ +# + +PORTNAME= primer3 +PORTVERSION= 0.9 +CATEGORIES= biology +MASTER_SITES= http://www-genome.wi.mit.edu/ftp/distribution/software/ +DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}_test + +MAINTAINER= tonym@biolateral.com.au + +USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/${DISTNAME}/src +CPIO= cpio --quiet -pdum -R +DOCUMENTS= README example +CGI_EXAMPLES= primer3_www.cgi primer3_www_help.html \ + primer3_www_results.cgi primer3_www_results_help.html + +post-patch: + @${REINPLACE_CMD} \ + -e 's#^CFLAGS.*#CFLAGS += \$$\(CC_OPTS\)#;' \ + -e 's#CC_OPTS = -g#CC_OPTS =#;' \ + -e 's#LDFLAGS = -g#LDFLAGS ?=#;' \ + -e 's#^WHITEHEAD_SPECIFIC_HACK.*##;' \ + ${WRKDIR}/${DISTNAME}/src/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/primer3_core ${PREFIX}/bin/primer3 + @${MKDIR} ${DATADIR} + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Copyright ${DATADIR} +.for file in ${CGI_EXAMPLES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR} +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOCUMENTS} + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${file} ${DOCSDIR} +.endfor + @${MKDIR} ${EXAMPLESDIR} + @cd ${WRKDIR}/${DISTNAME}/test && ${FIND} * | \ + ${CPIO} ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} +.endif + +post-install: + @${CAT} ${DATADIR}/Copyright + +.include <bsd.port.mk> |