aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnome-mime-data/Makefile
blob: f2ae701a85aa5f1615d106b75c26d13a8001b522 (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
# New ports collection makefile for:    gnomemimedata
# Date created:             22 January 2002
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/misc/gnome-mime-data/Makefile,v 1.14 2007/05/22 04:59:18 marcus Exp $

PORTNAME=   gnome-mime-data
PORTVERSION=    2.18.0
PORTREVISION=   4
CATEGORIES= misc gnome
MASTER_SITES=   GNOME
DISTNAME=   gnome-mime-data-${PORTVERSION}
DIST_SUBDIR=    gnome

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A MIME and Application database for GNOME

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib -lintl"
CPPFLAGS+=  -I${LOCALBASE}/include

post-patch:
    @${REINPLACE_CMD} -e 's|[(]datadir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
            ${WRKSRC}/Makefile.in

.include <bsd.port.mk>