freebsd-ports/textproc/uim-gnome/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

37 lines
909 B
Makefile

# New ports collection makefile for: uim-gnome
# Date created: 31 August 2003
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -gnome
COMMENT= GNOME applets of uim input method
USE_GNOME= gtk20 gnomepanel libgnomeui
LIB_DEPENDS= uim.8:${PORTSDIR}/textproc/uim
RUN_DEPENDS= uim-pref-gtk:${PORTSDIR}/textproc/uim-gtk
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ENV= LIBS="`pkg-config --libs libgnomeui-2.0`"
CPPFLAGS+= `pkg-config --cflags libgnomeui-2.0`
CONFIGURE_ARGS= --with-gtk2 --enable-gnome-applet
UIM_SLAVE= yes
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-helper_Makefile.in
.if defined(WITHOUT_X11)
IGNORE= requires X11
.endif
do-build:
(cd ${WRKSRC}/helper && ${GMAKE})
do-install:
(cd ${WRKSRC}/helper && \
${GMAKE} am__EXEEXT_3="" install-serverDATA install-libexecPROGRAMS)
.include "${MASTERDIR}/Makefile"