summaryrefslogtreecommitdiffstats
path: root/math/gnumeric/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:42:09 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-14 18:42:09 +0800
commita64b041aec0639409e2d3afa73c342b096813c4c (patch)
tree8191792de2d47a96dafc3374e85ba7af46f67ef9 /math/gnumeric/Makefile
parent1b3327761c8bcb98d89b529daeae9600844b4361 (diff)
downloadmarcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar.gz
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar.bz2
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar.lz
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar.xz
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.tar.zst
marcuscom-ports-a64b041aec0639409e2d3afa73c342b096813c4c.zip
- Move back to mcom ports since GNOME 2.16 is in ports
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7800 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math/gnumeric/Makefile')
-rw-r--r--math/gnumeric/Makefile75
1 files changed, 75 insertions, 0 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
new file mode 100644
index 000000000..7d7f32c9e
--- /dev/null
+++ b/math/gnumeric/Makefile
@@ -0,0 +1,75 @@
+# New ports collection makefile for: gnumeric
+# Date created: 08 October 1998
+# Whom: Yukihiro Nakai <Nakai@technologist.com>
+#
+# $FreeBSD$
+# $MCom: ports-experimental/math/gnumeric/Makefile,v 1.1 2006/09/10 21:06:40 ahze Exp $
+#
+
+PORTNAME= gnumeric
+PORTVERSION= 1.7.0
+CATEGORIES= math gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= The GNOME 2 spreadsheet
+
+LIB_DEPENDS= goffice-0.3:${PORTSDIR}/devel/goffice \
+ psiconv.10:${PORTSDIR}/converters/psiconv
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_XLIB= yes
+USE_PERL5= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeprintui \
+ libgsf_gnome pygtk2 desktopfileutils libgnomeui
+USE_PYTHON= yes
+INSTALLS_OMF= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --without-guile --with-bonobo
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ 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
+
+PLIST_SUB= VERSION=${PORTVERSION}
+
+OPTIONS= GNOMEDB "Enable libgnomedb support" off
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+PLIST_SUB+= PERL="@comment "
+.else
+PLIST_SUB+= PERL=""
+.endif
+
+.if defined(WITH_GNOMEDB)
+USE_GNOME+= libgnomedb
+CONFIGURE_ARGS+= --with-gda
+PLIST_SUB+= GNOMEDB=""
+.else
+CONFIGURE_ARGS+= --without-gda
+PLIST_SUB+= GNOMEDB="@comment "
+.endif
+
+post-patch:
+ @${RM} -f ${WRKSRC}/GNOME_Gnumeric.server.in
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gnumeric.desktop ${PREFIX}/share/gnome/applications
+ ${INSTALL_DATA} ${WRKSRC}/gnumeric.mime ${PREFIX}/share/gnome/mime-info
+ @-update-desktop-database
+.for dir in share/gnome lib
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
+.endfor
+
+.include <bsd.port.post.mk>