1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/iiimf-gnome-im-switcher/Makefile
Joe Marcus Clarke 4acc6fb2a4 Presenting GNOME 2.20.1 and all related works for FreeBSD. The official
GNOME 2.20 release notes can be found at
http://www.gnome.org/start/2.20/notes/en/ .  Beyond that, this update
includes the new GIMP 2.4 (courtesy of ahze).

The GNOME 2.20 update also includes a huge change in the FreeBSD GNOME
hierarchy.  We are now using the more standard DATADIR of ${PREFIX}/share
rather than ${PREFIX}/share/gnome. The result is that fewer patches and
hacks are needed to port GNOME components to FreeBSD.  This will mean some
user changes may be required, so be sure to read /usr/ports/UPDATING for
more details.

This release and the things we accomplished in it would not have been
possible without mezz's crazy idea to collapse DATADIR, and his persistence
to make it happen successfully.  Ahze and pav also deserve thanks for
their work on porting modules and testing the whole ball of wax on
pointyhat (respectively).

The FreeBSD GNOME team would also like to thank our various testers and
contributors:

Yasuda Keisuke
Frank Jahnke
Pawel Worach
Brian Gruber
Franz Klammer
Yuri Pankov
Nick Barkas
Cristian KLEIN
Tony Maher
Scot Hetzel
Martin Matuska (mm)
Benoit Dejean
Martin Wilke (miwi)
(And anyone else I may have missed)

PRs fixed in this release:

111272, 113470, 115995, 116338
2007-10-24 23:37:25 +00:00

61 lines
1.6 KiB
Makefile

# New ports collection makefile for: iiimf-gnome-im-switcher
# Date created: 10 Sep 2004
# Whom: Kuang-che Wu <kcwu@csie.org>
#
# $FreeBSD$
#
PORTNAME= gnome-im-switcher
PORTVERSION= 12.2
PORTREVISION= 8
CATEGORIES= textproc
MASTER_SITES= http://www.openi18n.org/download/im-sdk/src/
PKGNAMEPREFIX= iiimf-
DISTNAME= iiimf-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= IIIMF gnome input method switcher
ONLY_FOR_ARCHS= i386
USE_XLIB= yes
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= intltool gconf2 libglade2 libgnomeui \
gnomepanel gnomeprefix gnomehack
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_AUTOTOOLS= automake:19:env autoconf:261:env libtool:15:env
GCONF_SCHEMAS= gnome-im-properties.schemas gnome-im-switcher.schemas
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/gnome-im-switcher
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= is supported on FreeBSD 5.3 and later only
.endif
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
post-patch:
${REINPLACE_CMD} \
-e '/^serverdir/s,$$[(]libdir[)],%%LOCALBASE%%/libdata,g' \
${BUILDDIR}/src/Makefile.am
${REINPLACE_CMD} \
-e "s,%%LOCALBASE%%,${LOCALBASE},g" \
-e "s,%%PREFIX%%,${PREFIX},g" \
${WRKSRC}/Makefile ${BUILDDIR}/Makefile.am \
${BUILDDIR}/src/Makefile.am
do-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} bootstrap
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
.include <bsd.port.post.mk>