1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/biology/emboss/Makefile
Thierry Thomas 10570c91c8 For EMBOSS:
This patch brings EMBOSS up to date with the current version.

	i.   The patches included in files/ are bugfixes for files in
	     EMBOSS-3.0.0 that appeared after the release. They are
   	     documented in ftp://emboss.open-bio.org/pub/EMBOSS/fixes/README

	     This is just 'for the record' so that we remember to remove these
	     patches in the next update.

	ii.  EMBOSS is now installed by default in LOCALBASE/emboss
	     This is to avoid CONFLICTS with other ports that install files
	     with the same names. Installing EMBOSS to another PREFIX is also
	     possible.

	iii. now EMBASSY and EMBOSS both store their distfiles in the same
	     DIST_SUBDIR

	iv.  use built-in PKGMESSAGE and SUB_FILES instead of doing it the old
	     (manual) way

	For EMBASSY:

	This update brings embassy in sync with the update of EMBOSS to 3.0.0.

	Things that changed from previous version of the port:

	i.  embassy now installs by default in $LOCALBASE/emboss (the
	    new default PREFIX for emboss as well).

	ii. changed DIST_SUBDIR so that all the distfiles are put together with
	    emboss. This makes sense(TM)

	iii. incorporated new EMBASSY apps (this accounts for the changes in
	     OPTIONS and pkg-plist)

	iv.  removed obsoleted patches

	Finally, I included a sample text that could go in UPDATING.

PR:		93053
Submitted by:	Fernan Aguero <fernan (at) iib.unsam.edu.ar> (maintainer)
2006-03-31 09:43:21 +00:00

64 lines
1.7 KiB
Makefile

# New ports collection makefile for: emboss
# Date created: 31 July 2000
# Whom: Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#
PORTNAME= emboss
PORTVERSION= 3.0.0
CATEGORIES= biology
MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/ \
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}
DISTFILES= ${PORTNAME:U}-${PORTVERSION}${EXTRACT_SUFX}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= A collection of open source tools for genetic sequence analysis
BUILD_DEPENDS= clustalw:${PORTSDIR}/biology/clustalw \
primer3:${PORTSDIR}/biology/primer3
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
png.5:${PORTSDIR}/graphics/png
CONFLICTS= qmail-ldap-[0-9]* digest-[0-9]*
PREFIX?= ${LOCALBASE}/emboss
NO_MTREE= yes
USE_SUBMAKE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_MOTIF= yes
SUB_FILES= pkg-message
SUB_LIST= PREFIX=${PREFIX} DATADIR=${DATADIR}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:U}
DATADIR= ${PREFIX}/share/${PORTNAME:U}
DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html
CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template
post-patch:
.if !defined(NOPORTDOCS)
.for DIR in ${DOC_DIRS}
@ ${REINPLACE_CMD} -e \
's#$$(prefix)/share/$$(PACKAGE)/doc#$$(datadir)/doc/$$(PACKAGE)#' \
${WRKSRC}/${DIR}/Makefile.in
.endfor
.endif
pre-install:
@ ${REINPLACE_CMD} -e 's#%%DATADIR%%#${DATADIR}#' ${CONFIG_FILE}
post-install:
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DATADIR}/emboss.default.template
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>