aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/wenju/Makefile
blob: fc080282bd9a16ac15b6413394654122bb34f427 (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
# New ports collection makefile for:    wenju
# Date created:             18 Oct 2003
# Whom:             Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=   wenju
PORTVERSION=    1.6
CATEGORIES= chinese
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Collection of writing tools in Chinese

GNU_CONFIGURE=  yes
USE_GNOME=  gtk20
USE_LDCONFIG=   yes

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-install:
    gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules

.include <bsd.port.mk>