1999-01-05 03:00:41 -05:00
|
|
|
# New ports collection makefile for: gnumeric
|
|
|
|
# Date created: 08 October 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
1998-10-26 06:58:07 -05:00
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1998-10-26 06:58:07 -05:00
|
|
|
#
|
|
|
|
|
2000-04-14 03:20:58 -04:00
|
|
|
PORTNAME= gnumeric
|
2000-10-11 14:31:36 -04:00
|
|
|
PORTVERSION= 0.57
|
1999-03-08 20:13:40 -05:00
|
|
|
CATEGORIES= math gnome
|
1999-01-27 03:31:54 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 14:08:13 -05:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/gnumeric
|
1998-10-26 06:58:07 -05:00
|
|
|
|
2000-01-06 21:07:00 -05:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-10-26 06:58:07 -05:00
|
|
|
|
2000-10-05 03:17:31 -04:00
|
|
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
2000-09-28 14:04:46 -04:00
|
|
|
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
|
2000-07-11 18:02:22 -04:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade \
|
2000-08-03 21:19:21 -04:00
|
|
|
guile.9:${PORTSDIR}/lang/guile \
|
2000-06-28 12:11:42 -04:00
|
|
|
gnomeole2.0:${PORTSDIR}/devel/libole2 \
|
2000-10-11 14:31:36 -04:00
|
|
|
gb.0:${PORTSDIR}/lang/gnomebasic \
|
|
|
|
gal.0:${PORTSDIR}/x11-toolkits/gal
|
1999-03-08 20:13:40 -05:00
|
|
|
|
2000-10-05 03:17:31 -04:00
|
|
|
USE_X_PREFIX= yes
|
1999-03-08 20:13:40 -05:00
|
|
|
USE_PERL5= yes
|
1999-10-14 05:20:39 -04:00
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:17:31 -04:00
|
|
|
USE_GNOME= yes
|
1999-05-29 23:50:35 -04:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-11 14:31:36 -04:00
|
|
|
CONFIGURE_ARGS= --with-guile --without-bonobo --with-gb
|
1999-05-29 23:50:35 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-10-11 14:31:36 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
1998-10-26 06:58:07 -05:00
|
|
|
|
2000-05-17 12:29:09 -04:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
2000-01-02 05:48:05 -05:00
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2000-08-03 21:19:21 -04: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 06:58:07 -05:00
|
|
|
.include <bsd.port.mk>
|