1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/biology/primer3/Makefile
Philip M. Gollucci 116ec22ac1 - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
2010-12-29 20:04:42 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: primer3
# Date created: 25 February 2002
# Whom: Tony Maher <tonym@biolateral.com.au>
#
# $FreeBSD$
#
PORTNAME= primer3
PORTVERSION= 1.1.4
CATEGORIES= biology
MASTER_SITES= SF
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= Primer3 helps to choose primers for PCR reactions
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/src
DOCUMENTS= README.txt example
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}/src/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKDIR}/src/primer3_core ${PREFIX}/bin/primer3
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKDIR}/COPYING.txt ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCUMENTS}
@${INSTALL_DATA} ${WRKDIR}/${file} ${DOCSDIR}
.endfor
@${RM} -rf ${WRKDIR}/test/primer*_list_tmp
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKDIR}/test && ${FIND} * | ${CPIO} --quiet \
-pdum -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
post-install:
@${CAT} ${DATADIR}/COPYING.txt
.include <bsd.port.mk>