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
|
2001-08-13 13:19:45 +02:00
|
|
|
PORTVERSION= 0.69
|
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
|
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 \
|
|
|
|
giconv.2:${PORTSDIR}/converters/libiconv
|
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
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GNOME= yes
|
2000-10-20 18:25:09 +02:00
|
|
|
USE_PYTHON= yes
|
2001-07-09 18:46:59 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-08-13 13:19:45 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl -lgiconv ${PTHREAD_LIBS}"
|
|
|
|
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
|
|
|
|
2000-08-04 18:11:37 +02:00
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-07-09 18:46:59 +02:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-08-04 03:19:21 +02:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
2001-08-06 13:02:56 +02:00
|
|
|
@find ${WRKSRC}/plugins/excel -name "*.[ch]" | xargs ${PERL} -pi -e \
|
|
|
|
's|iconv\.h|giconv.h|g'
|
2000-08-04 03:19:21 +02:00
|
|
|
|
1998-10-26 12:58:07 +01:00
|
|
|
.include <bsd.port.mk>
|