2001-03-31 17:51:15 +02:00
|
|
|
# New ports collection Makefile for: babel
|
|
|
|
# Date created: Dec 4 1997
|
|
|
|
# Whom: frankch@waru.life.nthu.edu.tw
|
1997-12-21 22:57:37 +01:00
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1997-12-21 22:57:37 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= babel
|
|
|
|
PORTVERSION= 1.6
|
2003-01-03 09:52:41 +01:00
|
|
|
PORTREVISION= 3
|
2001-12-02 14:09:47 +01:00
|
|
|
CATEGORIES= biology converters
|
2001-03-31 17:51:15 +02:00
|
|
|
MASTER_SITES= http://smog.com/chem/babel/files/ \
|
2004-06-08 10:19:40 +02:00
|
|
|
http://www.ccl.net/cca/software/UNIX/babel/
|
1997-12-21 22:57:37 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2001-03-12 19:57:34 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Converts among various molecular file formats
|
1997-12-21 22:57:37 +01:00
|
|
|
|
2001-03-31 17:51:15 +02:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
|
2001-12-02 14:09:47 +01:00
|
|
|
post-build:
|
|
|
|
${SED} -e 's%@PREFIX@%${PREFIX}%g' \
|
|
|
|
${FILESDIR}/babel.sh >${WRKSRC}/babel.sh
|
|
|
|
|
2001-03-31 17:51:15 +02:00
|
|
|
do-install:
|
2001-12-02 14:09:47 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/babel ${PREFIX}/libexec
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/babel.sh ${PREFIX}/bin/babel
|
2001-03-31 17:51:15 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/babel
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.lis ${PREFIX}/share/babel
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-02-01 23:02:22 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR}
|
2001-03-31 17:51:15 +02:00
|
|
|
.endif
|
1997-12-21 22:57:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|