2001-05-21 14:41:59 +02:00
|
|
|
# New ports collection makefile for: guppi
|
|
|
|
# Date created: 22 December 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= guppi
|
2002-01-23 16:23:29 +01:00
|
|
|
PORTVERSION= 0.40.3
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 17
|
2001-05-21 14:41:59 +02:00
|
|
|
CATEGORIES= math gnome
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/Guppi/0.40
|
2001-05-21 14:41:59 +02:00
|
|
|
DISTNAME= Guppi-${PORTVERSION}
|
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2005-06-08 15:29:07 +02:00
|
|
|
COMMENT= A plotting program for GNOME
|
2001-05-21 14:41:59 +02:00
|
|
|
|
2009-01-22 17:04:11 +01:00
|
|
|
LIB_DEPENDS= guile.20:${PORTSDIR}/lang/guile
|
2001-05-21 14:41:59 +02:00
|
|
|
|
2004-12-11 10:15:52 +01:00
|
|
|
USE_BZIP2= yes
|
2001-05-21 14:41:59 +02:00
|
|
|
USE_GMAKE= yes
|
2003-09-24 21:10:51 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs bonobo libglade gal gnometarget
|
2001-05-21 14:41:59 +02:00
|
|
|
USE_PYTHON= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-10-23 15:36:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-12-11 10:15:52 +01:00
|
|
|
CONFIGURE_ARGS= --enable-gnumeric --enable-explicit-python-linking
|
2006-10-14 10:54:54 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libglade-1.0" \
|
2003-09-24 21:10:51 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
2004-12-11 10:15:52 +01:00
|
|
|
GNUMERIC_IDLDIR="${WRKDIR}/gnumeric"
|
2001-05-21 14:41:59 +02:00
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
2007-12-14 17:51:09 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2001-05-21 14:41:59 +02:00
|
|
|
|
2002-03-14 17:40:24 +01:00
|
|
|
post-extract:
|
2004-12-11 10:15:52 +01:00
|
|
|
@${MKDIR} ${WRKDIR}/gnumeric
|
|
|
|
@${CP} ${FILESDIR}/GNOME_Gnumeric_Graph.idl ${WRKDIR}/gnumeric
|
2002-03-14 17:40:24 +01:00
|
|
|
|
2007-12-14 17:51:09 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
|
|
|
|
${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/aclocal.m4
|
2007-04-22 03:26:01 +02:00
|
|
|
|
2007-12-14 17:51:09 +01:00
|
|
|
post-install:
|
|
|
|
@${RMDIR} ${LOCALBASE}/share/gnome/help/guppi/C/images
|
2007-04-22 03:26:01 +02:00
|
|
|
|
2007-12-14 17:51:09 +01:00
|
|
|
.include <bsd.port.mk>
|