aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/eiciel/Makefile
blob: 9eeb77df91b54421806f78b550b26268847069fb (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
# New ports collection makefile for:    eiciel
# Date created:             July 20, 2005
# Whom:                 andreas@syndrom23.de
#
# $FreeBSD$
#

PORTNAME=   eiciel
PORTVERSION=    0.8.4
CATEGORIES= sysutils security
MASTER_SITES=   http://rofi.pinchito.com/eiciel/download/

MAINTAINER= andreas@syndrom23.de
COMMENT=    A GNOME-based ACL editor, with integration into Nautilus

LIB_DEPENDS=    gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24

USE_BZIP2=  yes
USE_REINPLACE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack nautilus2
USE_X_PREFIX=   yes
USE_AUTOTOOLS=  libtool:15

MAN1=       eiciel.1

.if defined(WITHOUT_NLS)
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=    --disable-nls
.else
PLIST_SUB+= NLS=""
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=     Needs ACL support available in FreeBSD 5.0 and later
.endif

post-patch:
    @${REINPLACE_CMD} -e '/^libeiciel_nautilus_la_LDFLAGS/ s|= |= -avoid-version -module |' \
        ${WRKSRC}/src/Makefile.in

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>