summaryrefslogtreecommitdiffstats
path: root/math/gcalctool3/Makefile
blob: e050b50eabf3eac5b18fa24fa2a15c0f3ebff52b (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:    gcalctool
# Date created:             12 Jun 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/math/gcalctool/Makefile,v 1.134 2010/06/07 08:12:42 kwm Exp $
#

PORTNAME=   gcalctool
PORTVERSION=    5.31.5
PORTEPOCH=  2
CATEGORIES= math gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A GNOME 3 calculator tool based on the old calctool for OpenWindows

CONFLICTS=  gcalctool-2.30.*

USE_BZIP2=  yes
USE_BISON=  build
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
USE_GNOME=  gnomeprefix gnomehack intlhack gconf2 gnomedocutils gtk20
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       gcalctool.1
GLIB_SCHEMAS=   org.gnome.gcalctool.gschema.xml

pre-install:
    @${MKDIR} ${PREFIX}/share/glib-2.0/schemas
    @${INSTALL_DATA} ${WRKSRC}/data/org.gnome.gcalctool.gschema.xml \
        ${PREFIX}/share/glib-2.0/schemas

.include <bsd.port.mk>