fc9556ced8
- Convert lib depends to new syntax - Add LICENSE - USES pathfix PR: 191372 Submitted by: tkato432 yahoo com
33 lines
852 B
Makefile
33 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>
|