aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/rodent/Makefile
blob: 8f5d5ca3a3f1ce49dd2df2bf497e683820a77526 (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
54
55
56
# 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@FreeBSD.org
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

OPTIONS_DEFINE=	NLS

.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>