mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# Created by: Johann Visagie <johann@egenetics.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= emboss
|
|
PORTVERSION= 6.2.0
|
|
RELEASE= ${PORTNAME:tu}-${PORTVERSION}
|
|
PORTREVISION= 3
|
|
CATEGORIES= biology
|
|
MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/
|
|
DISTNAME= ${RELEASE}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= A collection of open source tools for genetic sequence analysis
|
|
|
|
BUILD_DEPENDS= clustalw:${PORTSDIR}/biology/clustalw \
|
|
primer3:${PORTSDIR}/biology/primer3
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
|
|
|
CONFLICTS= qmail-ldap-[0-9]* digest-[0-9]*
|
|
|
|
PREFIX?= ${LOCALBASE}/emboss
|
|
NO_MTREE= yes
|
|
USES= gmake
|
|
USE_SUBMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PREFIX=${PREFIX} DATADIR=${DATADIR}
|
|
|
|
DOCSDIR= ${PREFIX}/share/${PORTNAME:tu}/doc
|
|
DATADIR= ${PREFIX}/share/${PORTNAME:tu}
|
|
|
|
CONFIGURE_ARGS+= --with-docroot=${DOCSDIR}
|
|
|
|
.if !defined(WITHOUT_X11)
|
|
USE_XORG= x11
|
|
USES+= motif
|
|
LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd \
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|
|
|
|
DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html
|
|
CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template
|
|
|
|
NO_STAGE= yes
|
|
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>
|