1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/deskutils/genius/Makefile
Sylvio Cesar Teixeira 74f8e066c5 - Fix with USE_CSTD=gnu89
PR:		ports/163754
Submitted by:	christian.mangin@gmail.com
2012-01-14 18:03:44 +00:00

45 lines
1015 B
Makefile

# New ports collection makefile for: genius
# Date created: 1 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= genius
PORTVERSION= 1.0.12
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME \
http://ftp.5z.com/pub/genius/
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Arbitrary precision calculator for Gnome Desktop Environment
LICENSE= GPLv3
BUILD_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
LIB_DEPENDS= mpfr.4:${PORTSDIR}/math/mpfr
RUN_DEPENDS= rarian-sk-config:${PORTSDIR}/textproc/rarian
USE_CSTD= gnu89
USE_BZIP2= yes
USE_GNOME= gnomehack gnomeprefix gnomevfs2 gtksourceview2 intlhack vte
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-extra-gcc-optimization
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
.endif
.include <bsd.port.mk>