1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/biology/babel/Makefile
Max Brazhnikov 4beaa15d30 - Mark conflict with science/openbabel
- Trim Makefile header
2012-12-11 14:24:51 +00:00

40 lines
951 B
Makefile

# Created by: frankch@waru.life.nthu.edu.tw
# $FreeBSD$
PORTNAME= babel
PORTVERSION= 1.6
PORTREVISION= 4
CATEGORIES= biology converters
MASTER_SITES= http://smog.com/chem/babel/files/ \
http://www.ccl.net/cca/software/UNIX/babel/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts among various molecular file formats
CONFLICTS_INSTALL= openbabel-*
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} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc"
BROKEN= Does not compile on powerpc
.endif
.include <bsd.port.post.mk>