2002-09-11 14:12:58 +02:00
|
|
|
# New ports collection makefile for: libgsf
|
|
|
|
# Date created: 11 September 2002
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2009-01-10 06:22:13 +01:00
|
|
|
# $MCom: ports/devel/libgsf/Makefile,v 1.33 2009/01/08 01:28:46 marcus Exp $
|
2002-09-11 14:12:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgsf
|
2009-01-10 06:22:13 +01:00
|
|
|
PORTVERSION= 1.14.11
|
|
|
|
PORTREVISION?= 0
|
2004-05-22 22:56:52 +02:00
|
|
|
CATEGORIES?= devel
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= GNOME
|
2002-09-11 14:12:58 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-05-22 22:56:52 +02:00
|
|
|
COMMENT?= An extensible i/o abstraction for dealing with structured file formats
|
2002-09-11 14:12:58 +02:00
|
|
|
|
2005-07-23 20:58:07 +02:00
|
|
|
.if !exists(/usr/lib/libbz2.so)
|
2003-05-13 06:24:49 +02:00
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
|
|
|
|
2002-09-11 14:12:58 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2006-04-30 02:47:21 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-02-12 19:34:49 +01:00
|
|
|
USE_GNOME?= gnomehack gnomeprefix glib20 libxml2 ltverhack intlhack
|
2005-11-05 05:53:48 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2009-01-10 06:22:13 +01:00
|
|
|
CONFIGURE_ARGS?=--without-gnome-vfs --without-python --with-gio \
|
|
|
|
--without-bonobo
|
2004-05-22 22:56:52 +02:00
|
|
|
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-09-11 14:12:58 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2005-11-05 05:53:48 +01:00
|
|
|
.if !defined(GSF_SLAVE)
|
2009-01-10 06:22:13 +01:00
|
|
|
MAN1= gsf.1 gsf-office-thumbnailer.1 gsf-vba-dump.1
|
2005-11-05 05:53:48 +01:00
|
|
|
.endif
|
|
|
|
|
2009-02-12 19:34:49 +01:00
|
|
|
.if !defined(WITHOUT_GCONF) || exists(${LOCALBASE}/bin/gconftool-2)
|
|
|
|
USE_GNOME+= gconf2
|
|
|
|
PLIST_SUB+= THUMB=""
|
2009-02-13 15:24:09 +01:00
|
|
|
. if !defined(GSF_SLAVE)
|
2009-02-12 19:34:49 +01:00
|
|
|
GCONF_SCHEMAS= gsf-office-thumbnailer.schemas
|
2009-02-13 15:24:09 +01:00
|
|
|
. endif
|
2009-02-12 19:34:49 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= THUMB="@comment "
|
|
|
|
.endif
|
|
|
|
|
2002-09-11 14:12:58 +02:00
|
|
|
.include <bsd.port.mk>
|