aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/deforaos-browser/Makefile
blob: 62763bc5666d8c88be8857e0858b9e7a98d42f7b (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: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$

PORTNAME=   deforaos-browser
PORTVERSION=    0.4.10
CATEGORIES= x11-fm
MASTER_SITES=   http://www.defora.org/os/download/download/4010/
DISTNAME=   Browser-${PORTVERSION}

MAINTAINER= olivier@cochard.me
COMMENT=    DeforaOS desktop file browser

LICENSE=    GPLv3

BUILD_DEPENDS=  xsltproc:${PORTSDIR}/textproc/libxslt \
        ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
LIB_DEPENDS=    System:${PORTSDIR}/devel/deforaos-libsystem \
        Desktop:${PORTSDIR}/x11/deforaos-libdesktop \
        Xrandr:${PORTSDIR}/x11/libXrandr

USE_GNOME=  gtk20 desktopfileutils
USES=       pkgconfig gettext
INSTALLS_ICONS= yes
MAKE_ARGS+= PREFIX=${PREFIX}

MAKE_ENV+=  MANDIR=${MANPREFIX}/man

MAN1=       browser.1 \
        copy.1 \
        delete.1 \
        desktop.1 \
        desktopctl.1 \
        move.1 \
        open.1 \
        properties.1 \
        view.1

post-patch:
    ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \
        ${WRKSRC}/data/pkgconfig.sh

.include <bsd.port.mk>