aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgsf-gnome/Makefile
blob: bef568f619a49f5e29b218ae7b13770a01422abf (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
# New ports collection makefile for:    libgsf
# Date created:             11 September 2002
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/libgsf-gnome/Makefile,v 1.14 2010/04/10 08:51:16 kwm Exp $
#

PORTREVISION=   0
CATEGORIES= devel gnome
PKGNAMESUFFIX=  -gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A GNOME wrapper for libgsf

MASTERDIR=  ${.CURDIR}/../libgsf
BUILD_WRKSRC=   ${WRKSRC}/gsf-gnome
INSTALL_WRKSRC= ${WRKSRC}/gsf-gnome
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

USE_GNOME=  gnomehack libgsf gnomevfs2 libbonobo ltverhack intlhack
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/gsf \
        --with-bz2 --with-gnome-vfs --with-gio
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lgsf-1"

GSF_SLAVE=  yes

post-install:
    @${MKDIR} ${PREFIX}/libdata/pkgconfig
    @${INSTALL_DATA} ${WRKSRC}/libgsf-gnome-1.pc \
        ${PREFIX}/libdata/pkgconfig/

.include "${MASTERDIR}/Makefile"