summaryrefslogblamecommitdiffstats
path: root/deskutils/genius/Makefile
blob: 687e2bbd44326631f61721c0457700965f618cf4 (plain) (tree)







































                                                                                 
# New ports collection makefile for:    genius
# Date created:             1 May 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   genius
PORTVERSION=    0.7.7
PORTREVISION=   2
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME} \
        http://ftp.5z.com/pub/genius/
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9].[0-9]).*/\1/}

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_GETTEXT=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
LIBTOOLFILES=   configure mpfr/configure
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-extra-gcc-optimization
INSTALLS_OMF=   yes
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500018 || exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+=   readline.5:${PORTSDIR}/devel/readline
.endif

.include <bsd.port.post.mk>