2003-11-09 12:12:42 +00:00
|
|
|
# New ports collection makefile for: wenju
|
|
|
|
# Date created: 18 Oct 2003
|
|
|
|
# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wenju
|
2008-08-31 00:32:43 +00:00
|
|
|
PORTVERSION= 1.4
|
2009-07-31 13:57:52 +00:00
|
|
|
PORTREVISION= 1
|
2003-11-09 12:12:42 +00:00
|
|
|
CATEGORIES= chinese
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF
|
2003-11-09 12:12:42 +00:00
|
|
|
|
2008-08-31 00:32:43 +00:00
|
|
|
MAINTAINER= chinsan@FreeBSD.org
|
2003-11-09 12:12:42 +00:00
|
|
|
COMMENT= Collection of writing tools in Chinese
|
|
|
|
|
2009-08-02 19:36:34 +00:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2003-11-09 12:12:42 +00:00
|
|
|
USE_GNOME= gtk20
|
2006-08-14 07:09:12 +00:00
|
|
|
USE_LDCONFIG= yes
|
2003-11-09 12:12:42 +00:00
|
|
|
|
2005-02-06 16:30:45 +00:00
|
|
|
.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
|
|
|
|
|
2003-11-09 12:12:42 +00:00
|
|
|
post-install:
|
2007-08-04 11:41:30 +00:00
|
|
|
gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
|
2003-11-09 12:12:42 +00:00
|
|
|
|
2009-01-05 17:27:29 +00:00
|
|
|
.include <bsd.port.mk>
|