aboutsummaryrefslogtreecommitdiff
path: root/biology/babel/Makefile
blob: 8eeb5ecb5a99d300188c6fa640566adf45a032d0 (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
# New ports collection Makefile for:	babel
# Date created:		Dec 4 1997
# Whom:			frankch@waru.life.nthu.edu.tw
#
# $FreeBSD$
#

PORTNAME=	babel
PORTVERSION=	1.6
PORTREVISION=	2
CATEGORIES=	biology converters
MASTER_SITES=	http://smog.com/chem/babel/files/ \
		http://www.ccl.net/cca/software/UNIX/babel/ \
		ftp://ccl.osc.edu/pub/chemistry/software/UNIX/babel/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Converts among various molecular file formats

MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"

post-build:
	${SED} -e 's%@PREFIX@%${PREFIX}%g' \
		${FILESDIR}/babel.sh >${WRKSRC}/babel.sh

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/libexec
	${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${PREFIX}/bin/babel
	@${MKDIR} ${PREFIX}/share/babel
	${INSTALL_DATA} ${WRKSRC}/*.lis ${PREFIX}/share/babel
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/babel
	${INSTALL_DATA} ${WRKSRC}/README.1ST ${PREFIX}/share/doc/babel
.endif

.include <bsd.port.mk>