1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/chinese/wenju/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

42 lines
890 B
Makefile

# 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
PORTREVISION= 10
CATEGORIES= chinese
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of writing tools in Chinese
USE_AUTOTOOLS= libtool:15
USE_GNOME= gtk20
USE_LDCONFIG= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.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.pre.mk>
.if ${OSVERSION} < 500041
EXTRA_PATCHES+= ${FILESDIR}/configure-getopt.patch
.endif
.include <bsd.port.post.mk>