1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/qalculate/Makefile
William Grzybowski fc9556ced8 math/qalculate: fix build with clang
- Convert lib depends to new syntax
- Add LICENSE
- USES pathfix

PR:		191372
Submitted by:	tkato432 yahoo com
2014-07-09 23:29:01 +00:00

34 lines
852 B
Makefile

# Created by: Sergey Akifyev <asa@gascom.ru>
# $FreeBSD$
PORTNAME= qalculate
PORTVERSION= 0.9.7
PORTREVISION= 2
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
USE_GNOME= gnomehier libglade2 libgnome
USES= gettext gmake pathfix
GNU_CONFIGURE= yes
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>