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-06-20 17:23:07 +00:00
|
|
|
PORTVERSION= 0.56
|
2000-09-28 18:04:46 +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
|
|
|
|
1999-03-09 01:13:40 +00:00
|
|
|
BUILD_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
|
|
|
|
python:${PORTSDIR}/lang/python
|
|
|
|
RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
|
|
|
|
python:${PORTSDIR}/lang/python
|
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 \
|
|
|
|
gb.0:${PORTSDIR}/lang/gnomebasic
|
1999-03-09 01:13:40 +00:00
|
|
|
|
2000-05-22 18:57:41 +00:00
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
1999-05-30 03:50:35 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1998-10-26 11:58:07 +00:00
|
|
|
|
1999-03-09 01:13:40 +00:00
|
|
|
USE_PERL5= yes
|
1999-10-14 09:20:39 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
1999-05-30 03:50:35 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1998-10-26 11:58:07 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome \
|
2000-06-20 17:23:07 +00:00
|
|
|
--with-guile --without-bonobo
|
1999-05-30 03:50:35 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-05-22 18:57:41 +00:00
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
1999-05-30 03:50:35 +00:00
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
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>
|