2005-03-07 04:00:16 +01:00
|
|
|
# New ports collection makefile for: scim-table-imengine
|
|
|
|
# Date created: 01 March 2005
|
|
|
|
# Whom: Jie Gao <gaoj@cpsc.ucalgary.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scim-table-imengine
|
2007-04-29 06:03:43 +02:00
|
|
|
PORTVERSION= 0.5.7
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 7
|
2005-03-07 04:00:16 +01:00
|
|
|
CATEGORIES= textproc
|
2009-08-22 02:37:17 +02:00
|
|
|
MASTER_SITES= SF/scim/scim-tables/${PORTVERSION}
|
2005-03-07 04:00:16 +01:00
|
|
|
DISTNAME= scim-tables-${PORTVERSION}
|
|
|
|
|
2007-04-29 06:03:43 +02:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2005-03-07 04:00:16 +01:00
|
|
|
COMMENT= SCIM table based input method engine
|
|
|
|
|
2005-10-21 23:34:12 +02:00
|
|
|
BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2005-03-07 04:00:16 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-03-07 04:00:16 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= intlhack
|
2006-08-23 03:18:00 +02:00
|
|
|
USE_GETTEXT= yes
|
2005-03-07 04:00:16 +01:00
|
|
|
|
2006-02-20 11:28:58 +01:00
|
|
|
MAN1= scim-make-table.1
|
|
|
|
|
2005-03-07 04:00:16 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
|
2007-04-29 06:03:43 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
|
2007-12-12 19:53:45 +01:00
|
|
|
PREFIX="${PREFIX}"
|
2005-03-07 04:00:16 +01:00
|
|
|
|
2005-10-21 23:34:12 +02:00
|
|
|
PLIST_SUB= SKIM="@comment "
|
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO_MSG} Define WITH_SKIM to enable skim support
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/bin/skim)
|
|
|
|
WITH_SKIM= yes
|
|
|
|
pre-patch:
|
|
|
|
@${ECHO_MSG} Skim is detected, support enabled.
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SKIM)
|
|
|
|
BUILD_DEPENDS+= skim:${PORTSDIR}/textproc/skim
|
|
|
|
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|
|
|
PLIST_SUB= SKIM=""
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-10-21 23:34:12 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "/^DIST_SUBDIRS/s/$$/ skim/" \
|
|
|
|
-e "/^@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR =/s/$$/ skim/" \
|
|
|
|
${WRKSRC}/Makefile.in
|
2006-08-23 03:18:00 +02:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e 's,$$(top_builddir)/libtool --silent,${LIBTOOL},' \
|
|
|
|
${WRKSRC}/skim/Makefile ${WRKSRC}/skim/setupui/Makefile
|
2005-10-21 23:34:12 +02:00
|
|
|
.endif
|
|
|
|
|
2005-03-07 04:00:16 +01:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
|
|
|
|
@${ECHO}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|