aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils/Makefile
blob: 0700b9627cdf08239df6fd4598d29036ab754f49 (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
# New ports collection makefile for:    gchemutils
# Date created:         Mar 18, 2003
# Whom:             Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$

PORTNAME=   gchemutils
PORTVERSION=    0.4.1
CATEGORIES= science
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   gnome-chemistry-utils-${PORTVERSION}

MAINTAINER= pav@FreeBSD.org
COMMENT=    C++ classes and Gtk2 widgets related to chemistry

LIB_DEPENDS=    gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext \
        openbabel.0:${PORTSDIR}/science/openbabel

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix intlhack libglade2 libgnomeprint libgnomeui
USE_GMAKE=  yes
USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-*
.endif

post-install:
    ${RM} -rf ${PREFIX}/share/gnome/doc/gchemutils/reference/html/CVS

.include <bsd.port.post.mk>