2004-11-30 16:25:27 +00:00
|
|
|
# New ports collection makefile for: ja-scim-uim
|
|
|
|
# Date created: 15 Nov 2004
|
|
|
|
# Whom: Seiya Yanagita <s_yanagita@ybb.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scim-uim
|
2005-10-15 13:21:16 +00:00
|
|
|
PORTVERSION= 0.1.4
|
2008-03-24 23:21:25 +00:00
|
|
|
PORTREVISION= 8
|
2004-11-30 16:25:27 +00:00
|
|
|
CATEGORIES= japanese
|
- 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 \
|
2004-11-30 16:25:27 +00:00
|
|
|
http://freedesktop.org/~suzhe/sources/
|
|
|
|
MASTER_SITE_SUBDIR=scim
|
|
|
|
|
|
|
|
MAINTAINER= s_yanagita@ybb.ne.jp
|
|
|
|
COMMENT= SCIM IMEngine module using UIM input method library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
2006-02-02 14:00:05 +00:00
|
|
|
LIB_DEPENDS= uim:${PORTSDIR}/textproc/uim
|
2004-11-30 16:25:27 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2007-02-10 06:05:06 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-11-30 16:25:27 +00:00
|
|
|
USE_GNOME= lthack
|
|
|
|
USE_ICONV= yes
|
|
|
|
USE_GMAKE= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-11-30 16:25:27 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-04-05 16:47:00 +00:00
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa ${FILESDIR}/extra-patch-ab
|
2004-11-30 16:25:27 +00:00
|
|
|
.if ${OSVERSION} < 500035
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
- 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
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
|
2004-11-30 16:25:27 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}"
|
2007-04-05 16:47:00 +00:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-4-stable
|
2004-11-30 16:25:27 +00:00
|
|
|
.else
|
- 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
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
|
2004-11-30 16:25:27 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lintl"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
|
|
|
|
@${ECHO}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|