# Created by: chinsan # $FreeBSD$ PORTNAME= scim-input-pad PORTVERSION= 0.1.3.1 PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= SF/scim/${PORTNAME}/0.1.3/ \ http://anthesphoria.net/FreeBSD/ports/distfiles/ MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= SCIM add-on to input various symbols with customisable on-screen pad LIB_DEPENDS= libscim-1.0.so:${PORTSDIR}/textproc/scim USE_LDCONFIG= yes USES= gmake pkgconfig libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -D__STDC_ISO_10646__ LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip DESKTOP_ENTRIES="SCIM Input Pad" \ "${COMMENT}" \ "${PREFIX}/share/scim/icons/input-pad.png" \ "scim-input-pad" \ "Utility;" \ false DOCS= ChangeLog README OPTIONS_DEFINE= DOCS NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext USE_GNOME= intlhack PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: @${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0| ; \ s|(SCIM_MODULEDIR=).*|\1${PREFIX}/lib/scim-1.0/1.4.0| ; \ s|(SCIM_ICONDIR=).*|\1${PREFIX}/share/scim/icons| ; \ s|(SCIM_DATADIR=).*|\1${PREFIX}/share/scim|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -E 's|^_NAME|NAME|g' ${WRKSRC}/data/*.pad.in post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include evel/electron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats