freebsd-ports/math/gnumeric/Makefile

77 lines
2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gnumeric
# Date created: 08 October 1998
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
# $MCom: ports/math/gnumeric/Makefile,v 1.46 2008/10/20 21:37:28 kwm Exp $
#
PORTNAME= gnumeric
PORTVERSION= 1.9.3
PORTREVISION= 2
2004-12-11 10:38:24 +01:00
CATEGORIES= math gnome
1999-01-27 09:31:54 +01:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
2004-12-11 10:38:24 +01:00
DIST_SUBDIR= gnome2
2004-12-11 10:38:24 +01:00
MAINTAINER= gnome@FreeBSD.org
COMMENT= The GNOME 2 spreadsheet
2001-05-21 20:07:24 +02:00
LIB_DEPENDS= goffice-0.8.7:${PORTSDIR}/devel/goffice \
2005-11-15 00:36:58 +01:00
psiconv.10:${PORTSDIR}/converters/psiconv
2005-03-13 17:28:27 +01:00
2001-07-09 18:46:59 +02:00
USE_BZIP2= yes
USE_GETTEXT= yes
Upgrade to GNOME 1.0. The following are the details: ports/audio/esound 0.2.7 -> 0.2.8 PR ports/10422 ports/audio/gnomeaudio 0.99.8 -> 1.0.0 PR ports/10426 ports/audio/libaudiofile 0.1.5 -> 0.1.6 PR ports/10421 ports/deskutils/gnomepim 0.99.8.1 -> 1.0.1 PR ports/10435 ports/devel/ORBit 0.3.98 -> 0.4.0 PR ports/10423 ports/devel/gettext shared libs now PR ports/10293 ports/devel/glib12 1.1.16 -> 1.2.0 PR ports/10419 ports/devel/libgtop 0.99.8 -> 1.0.1 PR ports/10430 ports/games/gnomegames 0.99.8 -> 1.0.1 PR ports/10436 ports/graphics/electriceyes distfile moved PR ports/10437 ports/graphics/imlib 1.9.3 -> 1.9.4 PR ports/10424 ports/lang/gnomeobjc 0.99.3 -> 1.0.1 PR ports/10441 ports/math/gnumeric 0.6 -> 0.15 PR ports/10439 ports/misc/gnomeutils 0.99.5 -> 1.0.1 PR ports/10442 ports/sysutils/gnomeadmin 0.99.1 -> 1.0.1 PR ports/10445 ports/sysutils/gnomecontrolcenter 0.99.3.1 -> 1.0.1 PR ports/10446 ports/sysutils/gtop 0.99.2 -> 1.0.1 PR ports/10477 ports/textproc/libxml 0.99.8 -> 1.0.0 PR ports/10438 ports/www/libghttp distfile moved PR ports/10429 ports/x11/gnome 0.99.3 -> 1.0.0 PR ports/10450 ports/x11/gnomecore 0.99.8.1 -> 1.0.1 PR ports/10432 ports/x11/gnomelibs 0.99.8.1 -> 1.0.1 PR ports/10425 ports/x11-fm/gnomemc 4.5.10 -> 4.5.23 PR ports/10448 ports/x11-toolkits/gtk-engines 0.1 -> 0.5 PR ports/10427 ports/x11-toolkits/gtk12 1.1.6 -> 1.2.0 PR ports/10420 Note that repository copies were made before this commit, as follows: ports/devel/glib11-devel -> ports/devel/glib12 ports/x11-toolkits/gtk11-devel -> ports/x11-toolkits/gtk12 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
1999-03-09 02:13:40 +01:00
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier \
libgsf_gnome pygtk2 desktopfileutils libgnomeui
USE_PYTHON= yes
2004-12-11 10:38:24 +01:00
INSTALLS_OMF= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-guile --with-bonobo
2001-08-13 13:19:45 +02:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
2004-12-11 10:38:24 +01:00
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \
python_prog=${PYTHON_VERSION}
GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \
gnumeric-plugins.schemas
MAN1= gnumeric.1 ssconvert.1 ssindex.1 ssgrep.1
2005-01-18 07:17:48 +01:00
2004-12-11 10:38:24 +01:00
PLIST_SUB= VERSION=${PORTVERSION}
2006-03-27 02:22:08 +02:00
OPTIONS= GNOMEDB "Enable libgnomedb support" off
.include <bsd.port.pre.mk>
.if defined(WITH_GNOMEDB)
USE_GNOME+= libgnomedb
CONFIGURE_ARGS+= --with-gda
PLIST_SUB+= GNOMEDB=""
.else
CONFIGURE_ARGS+= --without-gda
PLIST_SUB+= GNOMEDB="@comment "
.endif
2008-01-10 08:07:46 +01:00
post-extract:
@${CP} ${FILESDIR}/gnumeric-C.omf ${WRKSRC}/doc/C
2004-12-11 10:38:24 +01:00
post-patch:
@${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in
@${REINPLACE_CMD} -e 's|gda-3.0 >= 3.1.1|gda-3.0 >= 3.0.1|g' \
-e 's|gnomedb-3.0 >= 3.0.1|gnomedb-3.0 >= 3.0.0|g' \
${WRKSRC}/configure
2004-12-11 10:38:24 +01:00
post-install:
${INSTALL_DATA} ${WRKSRC}/gnumeric.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/gnumeric.mime ${PREFIX}/share/mime-info
2005-11-05 07:10:56 +01:00
@-update-desktop-database
.for dir in share lib
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
.endfor
.include <bsd.port.post.mk>