2012-10-01 16:45:16 +02:00
|
|
|
# Created by: Johann Visagie <johann@egenetics.com>
|
2000-07-31 21:13:54 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= emboss
|
2010-04-07 03:21:36 +02:00
|
|
|
PORTVERSION= 6.2.0
|
2008-04-13 09:22:42 +02:00
|
|
|
RELEASE= ${PORTNAME:U}-${PORTVERSION}
|
2013-08-09 16:05:52 +02:00
|
|
|
PORTREVISION= 3
|
2000-07-31 21:13:54 +02:00
|
|
|
CATEGORIES= biology
|
2010-04-07 03:21:36 +02:00
|
|
|
MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/
|
2008-04-13 09:22:42 +02:00
|
|
|
DISTNAME= ${RELEASE}
|
2006-03-31 11:43:21 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2000-07-31 21:13:54 +02:00
|
|
|
|
2012-10-01 16:55:55 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
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
|
2013-12-11 15:43:51 +01:00
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
2000-07-31 21:13:54 +02:00
|
|
|
|
2006-03-31 11:43:21 +02:00
|
|
|
CONFLICTS= qmail-ldap-[0-9]* digest-[0-9]*
|
2005-02-11 22:11:51 +01:00
|
|
|
|
2006-03-31 11:43:21 +02:00
|
|
|
PREFIX?= ${LOCALBASE}/emboss
|
|
|
|
NO_MTREE= yes
|
2013-07-09 23:49:35 +02:00
|
|
|
USES= gmake
|
2002-03-25 10:19:20 +01:00
|
|
|
USE_SUBMAKE= yes
|
2002-01-18 15:04:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2008-04-13 09:22:42 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-31 11:43:21 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= PREFIX=${PREFIX} DATADIR=${DATADIR}
|
2000-11-19 04:06:48 +01:00
|
|
|
|
2008-04-13 09:22:42 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/${PORTNAME:U}/doc
|
2004-11-26 02:11:43 +01:00
|
|
|
DATADIR= ${PREFIX}/share/${PORTNAME:U}
|
2000-11-13 14:48:49 +01:00
|
|
|
|
2008-04-13 09:22:42 +02:00
|
|
|
CONFIGURE_ARGS+= --with-docroot=${DOCSDIR}
|
2001-01-29 16:48:01 +01:00
|
|
|
|
2008-04-13 09:22:42 +02:00
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
USE_XORG= x11
|
2013-07-09 23:49:35 +02:00
|
|
|
USES+= motif
|
2013-12-11 15:43:51 +01:00
|
|
|
LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd \
|
|
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
2008-04-13 09:22:42 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2004-11-26 02:11:43 +01:00
|
|
|
.endif
|
2000-11-13 14:48:49 +01:00
|
|
|
|
2008-04-13 09:22:42 +02:00
|
|
|
DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html
|
|
|
|
CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template
|
|
|
|
|
2013-09-20 17:55:44 +02:00
|
|
|
NO_STAGE= yes
|
2006-03-31 11:43:21 +02:00
|
|
|
pre-install:
|
|
|
|
@ ${REINPLACE_CMD} -e 's#%%DATADIR%%#${DATADIR}#' ${CONFIG_FILE}
|
|
|
|
|
2000-08-12 18:15:48 +02:00
|
|
|
post-install:
|
2006-03-31 11:43:21 +02:00
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR}/emboss.default.template
|
2000-08-12 18:15:48 +02:00
|
|
|
@ ${CAT} ${PKGMESSAGE}
|
|
|
|
|
2000-07-31 21:13:54 +02:00
|
|
|
.include <bsd.port.mk>
|