aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnomemimedata/Makefile
blob: bb81e484db29277d247409a6c22375cb60a9d6c2 (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
# New ports collection makefile for:    gnomemimedata
# Date created:             22 January 2002
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnomemimedata
PORTVERSION=    1.0.8
CATEGORIES= misc gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-20020525
DISTNAME=   gnome-mime-data-${PORTVERSION}
DIST_SUBDIR=    gnome

MAINTAINER= gnome@FreeBSD.org

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOMELIBS=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_TARGET=   --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

MAN5=   gnome-vfs-mime.5

pre-patch:
    @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
        's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'

.include <bsd.port.mk>