brad 26ab35a003 Update to gettext 0.19.4.
With input and ok naddy@
2015-01-27 00:28:34 +00:00

58 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.74 2015/01/27 00:28:34 brad Exp $
COMMENT= GNU gettext
DISTNAME= gettext-0.19.4
SHARED_LIBS += intl 6.0 # 9.3
SHARED_LIBS += asprintf 1.1 # unknown
SHARED_LIBS += gettextlib 5.0 # unknown
SHARED_LIBS += gettextsrc 5.0 # unknown
SHARED_LIBS += gettextpo 7.0 # 5.3
CATEGORIES= devel
# DPB: parallel-safe, not worth it. Too much time in configure
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
EXTRACT_SUFX= .tar.xz
HOMEPAGE= https://www.gnu.org/software/gettext/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# LGPLv2.1, GPLv3
PERMIT_PACKAGE_CDROM= Yes
MODULES= converters/libiconv
WANTLIB= c expat m ncurses stdc++
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-csharp \
--disable-java \
--with-libiconv-prefix="${LOCALBASE}" \
--with-included-gettext \
--with-included-glib \
--with-included-libcroco \
--with-included-libunistring \
--with-included-libxml \
--without-emacs \
--without-git
CONFIGURE_ENV += gl_cv_have_weak=yes
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
EXTRA_LOCALES= en he lv no
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
for f in start-po.el po-mode.el po-compat.el; do \
${INSTALL_DATA} ${WRKSRC}/gettext-tools/misc/$$f \
${PREFIX}/share/emacs/site-lisp; \
done
for l in ${EXTRA_LOCALES}; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$$l/LC_MESSAGES; \
done
.include <bsd.port.mk>