2013-09-20 22:55:04 +02:00
|
|
|
# Created by: Sergey Akifyev <asa@gascom.ru>
|
2004-08-29 19:39:02 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qalculate
|
2010-04-17 22:21:27 +02:00
|
|
|
PORTVERSION= 0.9.7
|
2014-12-21 01:32:19 +01:00
|
|
|
PORTREVISION= 4
|
2004-08-29 19:39:02 +02:00
|
|
|
CATEGORIES= math
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-gtk/${PORTNAME}-gtk-${PORTVERSION}
|
2005-06-07 11:01:36 +02:00
|
|
|
DISTNAME= ${PORTNAME}-gtk-${PORTVERSION}
|
2004-08-29 19:39:02 +02:00
|
|
|
|
2014-06-11 20:55:29 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Multi-purpose desktop calculator (Gnome frontend)
|
2004-08-29 19:39:02 +02:00
|
|
|
|
2014-07-10 01:29:01 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
LIB_DEPENDS= libqalculate.so:${PORTSDIR}/math/libqalculate
|
2004-08-29 19:39:02 +02:00
|
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
|
|
|
|
wget:${PORTSDIR}/ftp/wget
|
|
|
|
|
2014-09-25 17:18:27 +02:00
|
|
|
USES= gettext gmake
|
2014-12-21 01:32:19 +01:00
|
|
|
USE_GNOME= libglade2 libgnome
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-09-25 17:18:27 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2005-03-11 23:20:47 +01:00
|
|
|
INSTALLS_OMF= yes
|
2004-08-29 19:39:02 +02:00
|
|
|
|
2008-05-22 02:21:20 +02:00
|
|
|
post-patch:
|
2014-07-10 01:29:01 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^Icon/s|=\(.*\)|=${PREFIX}/share/pixmaps/\1|' \
|
|
|
|
${WRKSRC}/data/qalculate-gtk.desktop.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's/^GMSGFMT = @GMSGFMT@/GMSGFMT = msgfmt/' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
2008-05-22 02:21:20 +02:00
|
|
|
|
2005-06-07 11:01:36 +02:00
|
|
|
.include <bsd.port.mk>
|