View | Details | Raw Unified | Return to bug 252309 | Differences between
and this patch

Collapse All | Expand All

(-)science/kalzium/Makefile (-1 / +20 lines)
Lines 2-12 Link Here
2
2
3
PORTNAME=	kalzium
3
PORTNAME=	kalzium
4
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
4
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
5
PORTREVISION=	1
5
CATEGORIES=	science education kde kde-applications
6
CATEGORIES=	science education kde kde-applications
6
7
7
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
8
COMMENT=	Periodic table of elements for KDE 4
9
COMMENT=	Periodic table of elements for KDE
9
10
11
LICENSE=	GPLv2 LGPL20 GFDL
12
LICENSE_COMB=	multi
13
10
LIB_DEPENDS=	libopenbabel.so:science/openbabel \
14
LIB_DEPENDS=	libopenbabel.so:science/openbabel \
11
		libAvogadroCore.so:science/avogadrolibs
15
		libAvogadroCore.so:science/avogadrolibs
12
BUILD_DEPENDS=	${LOCALBASE}/lib/ocaml/facile/facile.a:math/facile \
16
BUILD_DEPENDS=	${LOCALBASE}/lib/ocaml/facile/facile.a:math/facile \
Lines 30-35 Link Here
30
34
31
USE_LDCONFIG=	yes
35
USE_LDCONFIG=	yes
32
36
37
CMF=		. compoundviewer compoundviewer/widgets src
38
33
OPTIONS_DEFINE=	DOCS
39
OPTIONS_DEFINE=	DOCS
34
40
41
post-extract:
42
	${CP} ${WRKSRC}/cmake/modules/FindOpenBabel2.cmake	\
43
		${WRKSRC}/cmake/modules/FindOpenBabel3.cmake
44
45
pre-configure:
46
	${REINPLACE_CMD} -e 's|OPENBABEL2|OPENBABEL3|g;s|OpenBabel2|OpenBabel3|'	\
47
		-e 's|openbabel-2.0|openbabel-3|;s|openbabel-2|openbabel-3|'		\
48
		${WRKSRC}/cmake/modules/FindOpenBabel3.cmake
49
.for c in ${CMF}
50
	${REINPLACE_CMD} -e 's|OpenBabel2|OpenBabel3|;s|OPENBABEL2|OPENBABEL3|g'	\
51
		${WRKSRC}/${c}/CMakeLists.txt
52
.endfor
53
35
.include <bsd.port.mk>
54
.include <bsd.port.mk>

Return to bug 252309