blob: 3d686002e8fe53834431f10792b0e1650faba3c1 (
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
|
# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= ghemical
PORTVERSION= 3.0.0
PORTREVISION= 12
CATEGORIES= science
MASTER_SITES= http://bioinformatics.org/ghemical/download/%SUBDIR%/
MASTER_SITE_SUBDIR= release20111012 current
MAINTAINER= ports@FreeBSD.org
COMMENT= Computational chemistry software package
LICENSE= GPLv2+
LIB_DEPENDS= libmopac7.so:biology/mopac \
libghemical.so:science/libghemical \
liboglappth.so:science/liboglappth \
libmpqc.so:science/mpqc \
libopenbabel.so:science/openbabel \
libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= fortran gettext gmake pathfix pkgconfig
USE_GNOME= gtk20 libglade2 intltool
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gtk --enable-threads --enable-openbabel
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB= GHEMICAL_VERSION="${PORTVERSION}"
post-patch:
@${REINPLACE_CMD} -e \
's|"mozilla "|"xdg-open "|' ${WRKSRC}/src/gtk_app.cpp
.include <bsd.port.mk>
|