summaryrefslogtreecommitdiffstats
path: root/x11/luit/Makefile
blob: 630d15c56b451cd26b9021a763d72ac5099c021a (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
# New ports collection makefile for:    luit
# Date Created:             17 Feb 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD: ports/x11/luit/Makefile,v 1.5 2010/05/01 11:40:15 miwi Exp $
#

PORTNAME=   luit
PORTVERSION=    1.0.5
CATEGORIES= x11

MAINTAINER= x11@FreeBSD.org
COMMENT=    Locale and ISO 2022 support for Unicode terminals

XORG_CAT=   app
USE_XORG=   x11 fontenc

CONFIGURE_ARGS= --datadir=${LOCALBASE}/lib

PLIST_FILES=    bin/luit

MAN1=       luit.1

.if !defined(WITH_SETUID_LUIT)
pre-everything::
    @${ECHO_MSG} "If you want to use xterm with locales in a secure manner, luit must be"
    @${ECHO_MSG} "installed setuid.  If you want to do this, define WITH_SETUID_LUIT when"
    @${ECHO_MSG} "installing this port (either in /etc/make.conf or on command line with"
    @${ECHO_MSG} "install target)."
.endif

post-install:
.if defined(WITH_SETUID_LUIT)
    ${CHOWN} root:wheel ${PREFIX}/bin/luit
    ${CHMOD} 04711 ${PREFIX}/bin/luit
.endif

.include <bsd.port.mk>