1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/math/qalculate/Makefile
Pav Lucistnik 37073a11e1 Add qalculate, a multi-purpose desktop calculator for GNU/Linux (heh).
It is small and simple to use but with much power and
versatility underneath. Features include customizable
functions, units, arbitrary precision, plotting, and
a user-friendly interface.

PR:		ports/68979
Submitted by:	Sergey Akifyev <asa@gascom.ru>
2004-08-29 17:39:02 +00:00

41 lines
1019 B
Makefile

# New ports collection makefile for: qalculate
# Date created: 07 July 2004
# Whom: Sergey Akifyev <asa@gascom.ru>
#
# $FreeBSD$
#
PORTNAME= qalculate
PORTVERSION= 0.6.3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-gtk-${PORTVERSION}
MAINTAINER= asa@gascom.ru
COMMENT= Very powerful GUI calculator for GNOME
LIB_DEPENDS= cln.3:${PORTSDIR}/math/cln
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
wget:${PORTSDIR}/ftp/wget
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix gnomehack intlhack libglade2 libgnome
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
# cln is built with gcc 3.3 on FreeBSD 4.x
USE_GCC= 3.3
# in FreeBSD 4.x struct liconv does not contain int_p_cs_precedes
EXTRA_PATCHES= ${FILESDIR}/extra-patch-FreeBSD4
# XXX configure script fails to detect gettext on FreeBSD 4.x with gcc 3.3
PLIST_SUB+= 5X="@comment "
.else
PLIST_SUB+= 5X=""
.endif
.include <bsd.port.post.mk>