1999-01-05 08:00:41 +00:00
|
|
|
# New ports collection makefile for: gnumeric
|
|
|
|
# Date created: 08 October 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-26 11:58:07 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1998-10-26 11:58:07 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 07:20:58 +00:00
|
|
|
PORTNAME= gnumeric
|
2000-10-11 18:31:36 +00:00
|
|
|
PORTVERSION= 0.57
|
2000-10-20 16:25:09 +00:00
|
|
|
PORTREVISION= 1
|
1999-03-09 01:13:40 +00:00
|
|
|
CATEGORIES= math gnome
|
1999-01-27 08:31:54 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnumeric
|
1998-10-26 11:58:07 +00:00
|
|
|
|
2000-01-07 02:07:00 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-10-26 11:58:07 +00:00
|
|
|
|
2000-09-28 18:04:46 +00:00
|
|
|
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
|
2000-07-11 22:02:22 +00:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade \
|
2000-08-04 01:19:21 +00:00
|
|
|
guile.9:${PORTSDIR}/lang/guile \
|
2000-06-28 16:11:42 +00:00
|
|
|
gnomeole2.0:${PORTSDIR}/devel/libole2 \
|
2000-10-11 18:31:36 +00:00
|
|
|
gb.0:${PORTSDIR}/lang/gnomebasic \
|
2000-10-20 16:25:09 +00:00
|
|
|
gal.1:${PORTSDIR}/x11-toolkits/gal
|
1999-03-09 01:13:40 +00:00
|
|
|
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-03-09 01:13:40 +00:00
|
|
|
USE_PERL5= yes
|
1999-10-14 09:20:39 +00:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-10-20 16:25:09 +00:00
|
|
|
USE_PYTHON= yes
|
1999-05-30 03:50:35 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-11 18:31:36 +00:00
|
|
|
CONFIGURE_ARGS= --with-guile --without-bonobo --with-gb
|
1999-05-30 03:50:35 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-10-11 18:31:36 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
1998-10-26 11:58:07 +00:00
|
|
|
|
2000-05-17 16:29:09 +00:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
2000-01-02 10:48:05 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:19:21 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1998-10-26 11:58:07 +00:00
|
|
|
.include <bsd.port.mk>
|