freebsd-ports/biology/primer3/Makefile

32 lines
732 B
Makefile
Raw Normal View History

# Created by: Tony Maher <tonym@biolateral.com.au>
PORTNAME= primer3
PORTVERSION= 2.3.6
CATEGORIES= biology
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-21 12:08:38 +01:00
COMMENT= Primer3 helps to choose primers for PCR reactions
LICENSE= GPLv2
USES= gmake
MAKE_ARGS= CC="${CC}" CPP="${CXX}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/primer3
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.*##;' \
${WRKSRC}/Makefile
do-install:
2014-03-14 13:35:03 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/primer3_core \
${STAGEDIR}${PREFIX}/bin/primer3
.include <bsd.port.mk>