1999-01-05 09:00:41 +01:00
|
|
|
# New ports collection makefile for: gnumeric
|
|
|
|
# Date created: 08 October 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-26 12:58:07 +01:00
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1998-10-26 12:58:07 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 09:20:58 +02:00
|
|
|
PORTNAME= gnumeric
|
2002-06-21 14:46:34 +02:00
|
|
|
PORTVERSION= 1.0.8
|
2001-01-24 17:03:49 +01:00
|
|
|
CATEGORIES?= math gnome
|
1999-01-27 09:31:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 20:08:13 +01:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnumeric
|
2002-03-12 23:51:01 +01:00
|
|
|
DIST_SUBDIR= gnome
|
1998-10-26 12:58:07 +01:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER?= gnome@FreeBSD.org
|
1998-10-26 12:58:07 +01:00
|
|
|
|
2001-08-13 13:19:45 +02:00
|
|
|
LIB_DEPENDS= gnomeole2.0:${PORTSDIR}/devel/libole2 \
|
2001-08-06 13:02:56 +02:00
|
|
|
gbrun.0:${PORTSDIR}/lang/gnomebasic \
|
2002-03-18 10:46:46 +01:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv \
|
2002-02-22 21:15:33 +01:00
|
|
|
psiconv.8:${PORTSDIR}/converters/psiconv
|
2002-03-14 15:28:22 +01:00
|
|
|
RUN_DEPENDS= guppi-gnumeric:${PORTSDIR}/math/guppi
|
2001-05-21 20:07:24 +02:00
|
|
|
|
2001-07-09 18:46:59 +02:00
|
|
|
USE_BZIP2= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_X_PREFIX= yes
|
1999-03-09 02:13:40 +01:00
|
|
|
USE_PERL5= yes
|
1999-10-14 11:20:39 +02:00
|
|
|
USE_GMAKE= yes
|
2002-07-11 19:16:10 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs bonobo libglade gal
|
2000-10-20 18:25:09 +02:00
|
|
|
USE_PYTHON= yes
|
2002-06-21 14:46:34 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-06-07 21:56:49 +02:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-06-21 14:46:34 +02:00
|
|
|
CONFIGURE_ARGS= --with-evolution --without-guile
|
2001-08-13 13:19:45 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2002-03-19 13:52:55 +01:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl -liconv ${PTHREAD_LIBS}"
|
2001-08-13 13:19:45 +02:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-10-26 12:58:07 +01:00
|
|
|
|
2001-07-09 18:46:59 +02:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}-bonobo
|
2000-01-02 11:48:05 +01:00
|
|
|
|
2002-07-11 19:16:10 +02:00
|
|
|
post-patch:
|
2002-06-21 14:46:34 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
2002-01-02 13:01:04 +01:00
|
|
|
post-install:
|
|
|
|
.for dir in share/gnome lib
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/${dir}/gnumeric
|
|
|
|
.endfor
|
|
|
|
|
1998-10-26 12:58:07 +01:00
|
|
|
.include <bsd.port.mk>
|