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

PORTNAME=   dedit
PORTVERSION=    0.6.2.3
PORTREVISION=   1
CATEGORIES= editors gnome
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple GNOME i18n editor

LIB_DEPENDS=    iconv.3:${PORTSDIR}/converters/libiconv

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

USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_GNOME=  gnomelibs gnomeprefix gnomehack gtk12 glib12 orbit
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -liconv"

MAN1=       dedit.1
MANLANG=    "" ja

pre-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|\(\$$(datadir)/\)gnome/|\1|g ; \
         s|dedit.ja.1||'

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/dedit.ja.1 ${MANPREFIX}/man/ja/man1/dedit.1

.include <bsd.port.mk>