aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/genius/Makefile
blob: 39299faa252dad3ea65314599ce1165cb9d3092f (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
# New ports collection makefile for:    genius
# Date created:             1 May 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   genius
PORTVERSION=    0.7.4
PORTREVISION=   3
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME} \
        http://ftp.5z.com/pub/genius/
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Arbitrary precision calculator for Gnome Desktop Environment

LIB_DEPENDS=    mpfr.1:${PORTSDIR}/math/mpfr

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gtksourceview intlhack \
        libgnomeui vte
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
LIBTOOLFILES=   configure mpfr/configure
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-extra-gcc-optimization
INSTALLS_OMF=   yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500018
BROKEN=     Does not compile on 4.x
LIB_DEPENDS+=   readline.5:${PORTSDIR}/devel/readline
.endif

.include <bsd.port.post.mk>