blob: bf111c6b704e7733993fbe99e2067666c6e6bdab (
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
|
# ex:ts=8
# Ports collection makefile for: openbabel
# Date created: Jan 5, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= openbabel
PORTVERSION= 2.0.0
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Chemistry file translation program
USE_GCC= 3.4+
USE_GNOME= gnomehack gnometarget libxml2
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
MAN1= obchiral.1 obfit.1 obgrep.1 obprop.1 obrotate.1 openbabel.1
PLIST_SUB= VERSION="${PORTVERSION}"
post-extract:
@${LN} -sf babel.1 ${WRKSRC}/doc/openbabel.1
post-patch:
@${REINPLACE_CMD} -e \
's|= babel|= openbabel|g' ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e 's| babel| openbabel|g ; \
s|"babel|"openbabel|g' ${WRKSRC}/doc/o*.1
@${REINPLACE_CMD} -e 's|^babel|openbabel|g ; \
s|(babel|(openbabel|g ; \
s|= babel|= openbabel|g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
|