aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/mate-file-archiver/Makefile
blob: 5383a8d35fc57806848c5ad32db5e0101b164a21 (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
# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mate-file-archiver
PORTVERSION=    1.6.0
PORTREVISION=   1
CATEGORIES= archivers mate
MASTER_SITES=   MATE
DIST_SUBDIR=    mate

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Archive manager for zip files, tar, etc

RUN_DEPENDS=    ${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar \
            ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip

PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake libtool pathfix pkgconfig tar:xz
USE_MATE=   autogen caja common:build docutils intlhack
USE_XORG=   sm
USE_GNOME=  glib20 gnomehier gtk20
INSTALLS_OMF=   yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  aclocal:env autoconf:env automake:env libtoolize:env
CONFIGURE_ARGS= --disable-packagekit \
        --with-gtk=2.0
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PATHFIX_MAKEFILEIN= Makefile.*
INSTALL_TARGET= install-strip

GLIB_SCHEMAS=   org.mate.engrampa.gschema.xml

post-patch:
    @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
        ${WRKSRC}/src/fr-command-tar.c \
        ${WRKSRC}/src/fr-command-zip.c

.include <bsd.port.mk>