aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgsf/Makefile
blob: e1960df0f07aad8edb9561ecb69970a38c2b990e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    libgsf
# Date created:             11 September 2002
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/libgsf/Makefile,v 1.27 2006/10/04 00:03:42 ahze Exp $
#

PORTNAME=   libgsf
PORTVERSION=    1.14.8
PORTREVISION?=  2
CATEGORIES?=    devel
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT?=   An extensible i/o abstraction for dealing with structured file formats

.if !exists(/usr/lib/libbz2.so)
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_GNOME?= gnomehack gnomeprefix glib20 libxml2 gconf2 ltverhack intlhack
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS?=--without-gnome --without-python --without-gvfs
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.if !defined(GSF_SLAVE)
GCONF_SCHEMAS=  gsf-office-thumbnailer.schemas
MAN1=       gsf.1 gsf-office-thumbnailer.1
.endif

.include <bsd.port.mk>