freebsd-ports/biology/emboss/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

62 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= 2.10.0
CATEGORIES= biology
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}
DISTFILES= ${PORTNAME:U}-${PORTVERSION}${EXTRACT_SUFX}
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= nss-* qmail-ldap2-* digest-*
USE_SUBMAKE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_MOTIF= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
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
post-install:
@ 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}
.if !defined(BATCH)
@ ${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>