aboutsummaryrefslogtreecommitdiffstats
path: root/editors/dedit/Makefile
blob: 840fa3840bb9ec3ec1658a20c15f57f5716c9e39 (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
# New ports collection makefile for:   dedit
# Date created:        26 January 2000
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   dedit
PORTVERSION=    0.6.2
CATEGORIES= editors gnome
MASTER_SITES=   ftp://ftp.debian.org/debian/dists/unstable/main/source/editors/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= nakai@FreeBSD.org

LIB_DEPENDS=    iconv.1:${PORTSDIR}/converters/iconv

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_X_PREFIX=   yes
USE_GNOME=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -liconv"

MAN1=       dedit.1
.if defined(KANJI)
MANLANG=    "" ja
.endif

post-install:
.if defined(KANJI)
    ${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 \
    ${PREFIX}/man/ja/man1/dedit.1
.endif

.include <bsd.port.mk>