freebsd-ports/biology/embassy/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

111 lines
2.9 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: embassy
# Date created: 1.November.2004
# Whom: Fernan Aguero <fernan@iib.unsamn.edu.ar>
#
# $FreeBSD$
#
PORTNAME= embassy
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/
DIST_SUBDIR= emboss
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= A collection of contributed EMBOSS applications
LIB_DEPENDS= nucleus.3:${PORTSDIR}/biology/emboss
PREFIX?= ${LOCALBASE}/emboss
NO_MTREE= yes
USE_SUBMAKE= yes
USE_ICONV= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_MOTIF= yes
OPTIONS= DOMAINATRIX "Protein domain apps" on \
DOMALIGN "Protein domain apps" on \
DOMSEARCH "Protein domain apps" on \
SIGNATURE "Protein domain apps" on \
STRUCTURE "Protein domain apps" on \
EMNU "EMBOSS simple menu" on \
ESIM4 "Align cDNA/EST to genome" on \
HMMER "HMM alignment and searches" on \
MEME "Motif detection" on \
MSE "A multiple sequence screen editor" on \
MYEMBOSS "Examples for developers of EMBOSS apps" on \
PHYLIP "Phylogeny inference" on \
TOPO "Transmembrane display" on
CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib"
EMBASSY_WRKDIR= ${WRKSRC}/EMBASSY
DOMAINATRIX_VERSION= 0.1.0
EMNU_VERSION= 1.05
ESIM4_VERSION= 1.0.0
HMMER_VERSION= 2.1.1
MEME_VERSION= 2.3.1
MSE_VERSION= 1.0.0
TOPO_VERSION= 1.0.0
PHYLIP_VERSION= 3.6b
DOMALIGN_VERSION= 0.1.0
DOMSEARCH_VERSION= 0.1.0
SIGNATURE_VERSION= 0.1.0
STRUCTURE_VERSION= 0.1.0
MYEMBOSS_VERSION= 3.0.0
EMBASSY_APPS= DOMAINATRIX EMNU ESIM4 HMMER MEME MSE PHYLIP TOPO \
DOMALIGN DOMSEARCH SIGNATURE STRUCTURE MYEMBOSS
.include <bsd.port.pre.mk>
.for app in ${EMBASSY_APPS}
.if !defined(WITHOUT_${app})
APPLIST+= ${app}
${app}_WRKSRC= ${EMBASSY_WRKDIR}/${app}-${${app}_VERSION}
${app}_DISTFILE=${app}-${${app}_VERSION}${EXTRACT_SUFX}
DISTFILES+= ${${app}_DISTFILE}
PLIST_${app}= ""
.else
PLIST_${app}= "@comment "
.endif
PLIST_SUB+= PLIST_${app}=${PLIST_${app}}
.endfor
do-extract:
.for app in ${APPLIST}
@ ${MKDIR} ${EMBASSY_WRKDIR}
@ cd ${EMBASSY_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${_DISTDIR}/${${app}_DISTFILE} ${EXTRACT_AFTER_ARGS}
@ if [ `id -u` = 0 ]; then \
${CHMOD} -R ug-s ${${app}_WRKSRC}; \
${CHOWN} -R 0:0 ${${app}_WRKSRC}; \
fi
.endfor
do-configure:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
.endfor
do-build:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
.endfor
do-install:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
.include <bsd.port.post.mk>