mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
2f0486b647
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and gtk30 don't pull intltool in anymore. PR: 201980 Exp-run by: antoine@
36 lines
904 B
Makefile
36 lines
904 B
Makefile
# Created by: Sergey Akifyev <asa@gascom.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qalculate
|
|
PORTVERSION= 0.9.7
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-gtk/${PORTNAME}-gtk-${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-gtk-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multi-purpose desktop calculator (Gnome frontend)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libqalculate.so:${PORTSDIR}/math/libqalculate
|
|
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
|
|
wget:${PORTSDIR}/ftp/wget
|
|
|
|
USES= gettext gmake
|
|
USE_GNOME= intltool libglade2 libgnome
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALLS_OMF= yes
|
|
|
|
post-patch:
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|