ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/science/openbabel/Makefile
Revision: 12137
Committed: Thu Dec 15 00:57:58 2011 UTC (12 years, 4 months ago) by laffer1
File size: 1077 byte(s)
Log Message:
drop gnometarget, it's dead

File Contents

# Content
1 # ex:ts=8
2 #
3 # $MidnightBSD: mports/science/openbabel/Makefile,v 1.4 2011/02/02 21:19:20 laffer1 Exp $
4 #
5
6 PORTNAME= openbabel
7 PORTVERSION= 2.2.0
8 PORTREVISION= 1
9 CATEGORIES= science
10 MASTER_SITES= SF
11
12 MAINTAINER= ports@MidnightBSD.org
13 COMMENT= Chemistry file translation program
14 LICENSE= gpl2
15
16 LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-python
17
18 USE_GNOME= gnomehack libxml2
19 USE_AUTOTOOLS= libtool
20 USE_LDCONFIG= yes
21
22 MAN1= obchiral.1 obconformer.1 obenergy.1 obfit.1 obgen.1 obgrep.1 \
23 obminimize.1 obprobe.1 obprop.1 obrotamer.1 obrotate.1 \
24 openbabel.1 roundtrip.1
25
26 PLIST_SUB= VERSION="${PORTVERSION}"
27
28 .include <bsd.port.pre.mk>
29
30 post-extract:
31 @${LN} -sf babel.1 ${WRKSRC}/doc/openbabel.1
32
33 post-patch:
34 @${REINPLACE_CMD} -e \
35 '/test/s| == | = |g' ${WRKSRC}/configure
36 @${REINPLACE_CMD} -e \
37 's|= babel|= openbabel|g' ${WRKSRC}/doc/Makefile.in
38 @${REINPLACE_CMD} -e 's| babel| openbabel|g ; \
39 s|"babel|"openbabel|g' ${WRKSRC}/doc/o*.1
40 @${REINPLACE_CMD} -e 's|babel$$(EXEEXT)|openbabel$$(EXEEXT)|g' ${WRKSRC}/tools/Makefile.in
41
42 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.5