2002-09-16 05:04:14 +02:00
|
|
|
# New ports collection makefile for: gnumeric2
|
|
|
|
# Date created: 26 August 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
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
|
|
|
#
|
|
|
|
|
2002-09-16 05:04:14 +02:00
|
|
|
PORTNAME= gnumeric2
|
2002-10-05 18:30:16 +02:00
|
|
|
PORTVERSION= 1.1.9
|
2002-09-16 05:04:14 +02:00
|
|
|
CATEGORIES= math gnome
|
1999-01-27 09:31:54 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.1
|
2002-09-16 05:04:14 +02:00
|
|
|
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= gnome2
|
1998-10-26 12:58:07 +01:00
|
|
|
|
2002-09-16 05:04:14 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-10-26 12:58:07 +01:00
|
|
|
|
2002-09-16 05:04:14 +02:00
|
|
|
LIB_DEPENDS= gnomeprintui-2.0:${PORTSDIR}/x11-toolkits/libgnomeprintui \
|
|
|
|
gal-2-0.2:${PORTSDIR}/x11-toolkits/gal2 \
|
2002-09-18 20:49:44 +02:00
|
|
|
gda-2.1:${PORTSDIR}/databases/libgda2 \
|
2002-10-05 18:30:16 +02:00
|
|
|
gsf-1.5:${PORTSDIR}/devel/libgsf
|
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
|
2002-09-16 05:04:14 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomehier
|
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
|
2002-09-16 05:04:14 +02:00
|
|
|
CONFIGURE_ARGS= --without-guile --with-bonobo
|
2001-08-13 13:19:45 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2002-09-16 15:25:34 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}" \
|
|
|
|
DEFS="-I${X11BASE}/include/gal-2-0"
|
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-09-16 05:04:14 +02:00
|
|
|
@${FIND} ${WRKSRC}/plugins -name "plugin.xml.in" | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|\.la|.so|g'
|
2000-08-04 03:19:21 +02:00
|
|
|
|
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>
|