summaryrefslogtreecommitdiff
path: root/chinese/scim-chewing/Makefile
blob: 65a032ac7b06b3bdccd7ced87eb0add29e4c44d1 (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
# New ports collection makefile for:    zh-scim-chewing
# Date created:		4 Dec 2004
# Whom:			Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	scim-chewing
PORTVERSION=	0.3.3
PORTREVISION=	2
CATEGORIES=	chinese
MASTER_SITES=	http://chewing.csie.net/download/scim/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	SCIM chewing Chinese input methods

BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim
RUN_DEPENDS=	scim:${PORTSDIR}/textproc/scim
LIB_DEPENDS=	chewing.3:${PORTSDIR}/chinese/libchewing

BROKEN=		does not configure

USE_BZIP2=	yes
USE_GNOME=	intltool
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

CPPFLAGS+=	-D__STDC_ISO_10646__ -I${LOCALBASE}/include

post-patch:
	@${REINPLACE_CMD} -e 's,@DATADIRNAME@,share,g' ${WRKSRC}/po/Makefile.in.in

post-install:
	@${CAT} ${PKGMESSAGE}
	@${ECHO}
	@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
	@${ECHO}

.include <bsd.port.mk>