2012-10-01 16:45:16 +02:00
|
|
|
# Created by: Tony Maher <tonym@biolateral.com.au>
|
2002-09-17 17:31:09 +02:00
|
|
|
|
|
|
|
PORTNAME= primer3
|
2014-04-06 05:56:03 +02:00
|
|
|
PORTVERSION= 2.3.6
|
2002-09-17 17:31:09 +02:00
|
|
|
CATEGORIES= biology
|
2008-04-04 22:46:35 +02:00
|
|
|
MASTER_SITES= SF
|
2014-04-06 05:56:03 +02:00
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
2002-09-17 17:31:09 +02:00
|
|
|
|
2014-04-06 05:56:03 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:08:38 +01:00
|
|
|
COMMENT= Primer3 helps to choose primers for PCR reactions
|
2002-09-17 17:31:09 +02:00
|
|
|
|
2013-08-20 16:11:56 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-08-28 08:04:51 +02:00
|
|
|
USES= gmake
|
2014-05-20 21:32:39 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" CPP="${CXX}"
|
2013-08-20 16:11:56 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
PLIST_FILES= bin/primer3
|
2002-09-17 17:31:09 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} \
|
|
|
|
-e 's#^CFLAGS.*#CFLAGS += \$$\(CC_OPTS\)#;' \
|
|
|
|
-e 's#CC_OPTS = -g#CC_OPTS =#;' \
|
2012-01-27 18:41:00 +01:00
|
|
|
-e 's#LDFLAGS = -g#LDFLAGS +=#;' \
|
2002-09-17 17:31:09 +02:00
|
|
|
-e 's#^WHITEHEAD_SPECIFIC_HACK.*##;' \
|
2013-08-20 16:11:56 +02:00
|
|
|
${WRKSRC}/Makefile
|
2002-09-17 17:31:09 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-03-14 13:35:03 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/primer3_core \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/primer3
|
2002-09-17 17:31:09 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|