a6d2f30533
and libintl.so. This fixes a problem where DATADIRNAME gets an incorrect value which causes locale files to be installed in the wrong place. - The only configure checks that still need to be patched are related to intltool so move DATADIRNAME patching from USES=pathfix to USE_GNOME=intlhack. - games/klavaro: remove excessive dependencies - japanese/libskk: add INSTALL_TARGET=install-strip - math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread patching - multimedia/freetuxtv: remove excessive dependencies - science/gramps: fix shared-mime-info use Exp-run by: antoine Approved by: portmgr (antoine)
35 lines
905 B
Makefile
35 lines
905 B
Makefile
# Created by: Sergey Akifyev <asa@gascom.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qalculate
|
|
PORTVERSION= 0.9.7
|
|
PORTREVISION= 3
|
|
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= gnomehier 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>
|