aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/rxvt/Makefile
blob: d26ff8600792266211f15085606af5719425e261 (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
# New ports collection Makefile for: ja-rxvt
# Date created:         11 May 1999
# Whom:                 HONDA Yasuhiro <honda@kashio.info.mie-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   rxvt
PORTVERSION=    2.7.2
CATEGORIES= japanese x11
MASTER_SITES=   ftp://ftp.rxvt.org/pub/rxvt/

MAINTAINER= honda@kashio.info.mie-u.ac.jp
COMMENT=    An xterm replacement that supports pixmap background and Japanese

USE_X_PREFIX=   yes
USE_XPM=    yes
GNU_CONFIGURE=  yes
USE_BZIP2=  yes
MAN1=       rxvt.1 rclock.1
CONFIGURE_ARGS= --enable-xpm-background --enable-transparency \
        --enable-menubar --enable-graphics --enable-xim \
        --enable-languages --with-encoding=eucj \
        --disable-backspace-key --disable-delete-key \
        --enable-utmp --enable-wtmp

DOCDIR=     ${PREFIX}/share/doc/ja/rxvt
RXVTLIB=    ${PREFIX}/lib/X11/rxvt

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     "Does not compile on sparc64"
.endif

pre-install:
    @${MKDIR} ${DOCDIR}
    @${INSTALL_DATA} ${FILESDIR}/README.ja ${DOCDIR}
    @${MKDIR} ${RXVTLIB}
    @${INSTALL_DATA} ${FILESDIR}/ja.menu ${RXVTLIB}
    @${INSTALL_DATA} ${FILESDIR}/terminal.menu ${RXVTLIB}

post-install:
    @${CHMOD} 4711 ${PREFIX}/bin/rxvt

.include <bsd.port.post.mk>