freebsd-ports/textproc/uim-gtk3/Makefile
Tobias Kortkamp e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02:00

34 lines
1.1 KiB
Makefile

PKGNAMESUFFIX= -gtk3
COMMENT= GTK+ 3.x modules of uim input method
USE_GNOME= cairo gdkpixbuf2 gtk30
LIB_DEPENDS= libuim.so:textproc/uim \
libharfbuzz.so:print/harfbuzz
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-gtk3 --enable-pref --enable-default-toolkit=gtk3
UIM_SLAVE= yes
.if defined(WITHOUT_X11)
IGNORE= requires X11
.endif
do-build:
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la)
(cd ${WRKSRC}/gtk3/immodule && ${MAKE_CMD})
(cd ${WRKSRC}/gtk3/pad && ${MAKE_CMD})
(cd ${WRKSRC}/gtk3/pref && ${MAKE_CMD})
(cd ${WRKSRC}/gtk3/switcher && ${MAKE_CMD})
(cd ${WRKSRC}/gtk3/toolbar && ${MAKE_CMD})
do-install:
(cd ${WRKSRC}/gtk3/immodule && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
(cd ${WRKSRC}/gtk3/pad && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
(cd ${WRKSRC}/gtk3/pref && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
(cd ${WRKSRC}/gtk3/switcher && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
(cd ${WRKSRC}/gtk3/toolbar && ${MAKE_CMD} DESTDIR=${STAGEDIR} install-strip)
.include "${MASTERDIR}/Makefile"