2000-07-31 21:13:54 +02:00
|
|
|
# New ports collection makefile for: emboss
|
|
|
|
# Date created: 31 July 2000
|
|
|
|
# Whom: Johann Visagie <johann@egenetics.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= emboss
|
2005-05-29 20:26:05 +02:00
|
|
|
PORTVERSION= 2.10.0
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 1
|
2000-07-31 21:13:54 +02:00
|
|
|
CATEGORIES= biology
|
2004-11-26 02:11:43 +01:00
|
|
|
MASTER_SITES= ftp://ftp.uk.embnet.org/pub/EMBOSS/ \
|
|
|
|
ftp://ftp.es.embnet.org/pub/software/emboss/EMBOSS/ \
|
|
|
|
ftp://ftp.ebi.ac.uk/pub/software/unix/EMBOSS/
|
|
|
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
|
2000-11-28 02:43:39 +01:00
|
|
|
DISTFILES= ${PORTNAME:U}-${PORTVERSION}${EXTRACT_SUFX}
|
2000-07-31 21:13:54 +02:00
|
|
|
|
2004-11-26 02:11:43 +01:00
|
|
|
MAINTAINER= fernan@iib.unsam.edu.ar
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A collection of open source tools for genetic sequence analysis
|
2000-07-31 21:13:54 +02:00
|
|
|
|
2004-11-26 02:11:43 +01:00
|
|
|
BUILD_DEPENDS= clustalw:${PORTSDIR}/biology/clustalw \
|
|
|
|
primer3:${PORTSDIR}/biology/primer3
|
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
|
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2000-07-31 21:13:54 +02:00
|
|
|
|
2006-02-03 00:12:05 +01:00
|
|
|
CONFLICTS= qmail-ldap2-* digest-*
|
2005-02-11 22:11:51 +01:00
|
|
|
|
2002-03-25 10:19:20 +01:00
|
|
|
USE_SUBMAKE= yes
|
2000-07-31 21:13:54 +02:00
|
|
|
USE_GMAKE= yes
|
2002-01-18 15:04:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-08-03 13:32:42 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-09-22 12:24:52 +02:00
|
|
|
USE_XLIB= yes
|
2001-01-24 12:36:37 +01:00
|
|
|
USE_MOTIF= yes
|
2004-11-26 02:11:43 +01:00
|
|
|
USE_REINPLACE= yes
|
2000-11-28 02:43:39 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2000-11-19 04:06:48 +01:00
|
|
|
|
2004-11-26 02:11:43 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:U}
|
|
|
|
DATADIR= ${PREFIX}/share/${PORTNAME:U}
|
2000-11-13 14:48:49 +01:00
|
|
|
|
2001-01-29 16:48:01 +01:00
|
|
|
DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html
|
2001-05-30 16:34:56 +02:00
|
|
|
CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template
|
2001-01-29 16:48:01 +01:00
|
|
|
|
2000-09-07 16:02:52 +02:00
|
|
|
post-patch:
|
2004-11-26 02:11:43 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-09-07 16:02:52 +02:00
|
|
|
.for DIR in ${DOC_DIRS}
|
2004-11-26 02:11:43 +01:00
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's#$$(prefix)/share/$$(PACKAGE)/doc#$$(datadir)/doc/$$(PACKAGE)#' \
|
2000-09-07 16:02:52 +02:00
|
|
|
${WRKSRC}/${DIR}/Makefile.in
|
|
|
|
.endfor
|
2004-11-26 02:11:43 +01:00
|
|
|
.endif
|
2000-11-13 14:48:49 +01:00
|
|
|
|
2000-08-12 18:15:48 +02:00
|
|
|
post-install:
|
2004-11-26 02:11:43 +01:00
|
|
|
@ cd ${WRKSRC} && \
|
|
|
|
${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
|
|
|
|
${CONFIG_FILE} > ${PREFIX}/etc/emboss.default.sample && \
|
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/emboss.default.sample
|
|
|
|
@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
2002-01-18 15:04:03 +01:00
|
|
|
.if !defined(BATCH)
|
2000-08-12 18:15:48 +02:00
|
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
|
|
|
|
2000-07-31 21:13:54 +02:00
|
|
|
.include <bsd.port.mk>
|