freebsd-ports/deskutils/genius/Makefile
Vanilla I. Shu 8e6e7739a6 Update to version 1.0.18.
PR:		ports/193322
Submitted by:	Ports Fury.
2014-09-05 16:49:29 +00:00

38 lines
1,023 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= genius
PORTVERSION= 1.0.18
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME \
http://ftp.5z.com/pub/genius/
MAINTAINER= ports@FreeBSD.org
COMMENT= Arbitrary precision calculator for Gnome Desktop Environment
LICENSE= GPLv3
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
LIB_DEPENDS= libmpfr.so:${PORTSDIR}/math/mpfr
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
readline shared-mime-info tar:xz
USE_GNOME= gnomedocutils gnomeprefix gtksourceview2 gnomevfs2 vte
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-extra-gcc-optimization \
--disable-update-mimedb \
--disable-scrollkeeper
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${FIND} ${WRKSRC}/gtkextra -name "*.c" | ${XARGS} \
${REINPLACE_CMD} -e 's|inline gint|gint|'
.include <bsd.port.mk>