aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/rodent/Makefile
blob: 096f8aaaab23ca29d85b78a731a7fc672ae061ed (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
43
44
45
46
47
48
49
50
51
52
53
# Created by: Jens K. Loewe <bsd@tuxproject.de>
# $FreeBSD$

PORTNAME=   rodent
PORTVERSION=    4.8.0
CATEGORIES= x11-fm
MASTER_SITES=   SF/xffm/${PORTVERSION}/

MAINTAINER= rodrigo@bebik.net
COMMENT=    Fast, small and powerful file manager

LICENSE=    GPLv3

BUILD_DEPENDS=  gawk:${PORTSDIR}/japanese/gawk \
        bash:${PORTSDIR}/shells/bash \
        intltoolize:${PORTSDIR}/textproc/intltool
LIB_DEPENDS=    xml2:${PORTSDIR}/textproc/libxml2 \
        glib-2:${PORTSDIR}/devel/glib20 \
        cairo:${PORTSDIR}/graphics/cairo \
        rsvg-2:${PORTSDIR}/graphics/librsvg2 \
        gtk-x11-2:${PORTSDIR}/x11-toolkits/gtk20 \
        magic:${PORTSDIR}/sysutils/file

USES=       gmake pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--docdir=${DOCSDIR}
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes

PORTDOCS=   *

MAN1=       fgr.1

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    ${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \
        ${WRKSRC}/Build/share/Makefile.in

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=     Does not compile on ia64, powerpc, or sparc64
.endif

.include <bsd.port.mk>