aboutsummaryrefslogtreecommitdiff
path: root/chinese/wenju/Makefile
blob: 1976bbd5ed3412bdadd48cddce737101e444696e (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
# 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.3
CATEGORIES=	chinese
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	wenju

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

USE_GNOME=	gtk20
HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}
USE_X_PREFIX=	yes
INSTALLS_SHLIB=	yes
USE_GETOPT_LONG=	yes
USE_LIBTOOL_VER=	13

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

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500041
EXTRA_PATCHES+=	${FILESDIR}/configure-getopt.patch
.endif

.include <bsd.port.post.mk>