aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgsf/Makefile
blob: 514b19c55a04b8d8e4cc690a7aceab1c6b58e7be (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
40
41
42
43
# 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.22 2006/04/23 22:42:46 mezz Exp $
#

PORTNAME=   libgsf
PORTVERSION=    1.14.1
PORTREVISION?=  0
CATEGORIES?=    devel
MASTER_SITES=   ${MASTER_SITE_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_X_PREFIX=   yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
INSTALLS_SHLIB= yes
USE_GNOME?= gnomehack glib20 libxml2 gconf2 ltverhack intlhack
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
        --disable-gtk-doc --without-gnome --with-bz2 \
        --mandir=${PREFIX}/man \
        --with-gconf-source=${GCONF_CONFIG_SOURCE}
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

.include <bsd.port.mk>