summaryrefslogtreecommitdiff
path: root/biology/emboss/Makefile
blob: 2279b54b1d9b5775a83a47825635287e5ad711be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	emboss
# Date created:		31 July 2000
# Whom:	      		Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#

PORTNAME=	emboss
PORTVERSION=	1.1.0
CATEGORIES=	biology
MASTER_SITES=	ftp://ftp.uk.embnet.org/pub/EMBOSS/
DISTNAME=	EMBOSS-${PORTVERSION}

MAINTAINER=	johann@egenetics.com

LIB_DEPENDS=	gd.1:${PORTSDIR}/graphics/gd \
		png.4:${PORTSDIR}/graphics/png

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/gd" \
		LIBS="-L${LOCALBASE}/lib"

post-install:
	@ ${INSTALL_DATA} ${WRKSRC}/emboss/acd/emboss.default \
	  ${PREFIX}/etc/emboss.default.sample
.if !defined(BATCH)
	@ ${CAT} ${PKGMESSAGE}
.endif

DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html

post-patch:
.for DIR in ${DOC_DIRS}
	@perl -pi.orig -e \
		"s#share/\\$$\(PACKAGE\)/doc#share/doc/\\$$\(PACKAGE\)#" \
		${WRKSRC}/${DIR}/Makefile.in
.endfor

.include <bsd.port.mk>