58 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.74 2015/01/27 00:28:34 brad Exp $
1998-11-24 07:30:48 +00:00
2007-08-25 13:48:23 +00:00
COMMENT= GNU gettext
2001-04-04 19:51:40 +00:00
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
2006-01-06 21:16:16 +00:00
1998-11-24 07:30:48 +00:00
CATEGORIES= devel
# DPB: parallel-safe, not worth it. Too much time in configure
2002-05-13 18:50:36 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
EXTRACT_SUFX= .tar.xz
1999-03-29 22:44:23 +00:00
2013-11-09 23:19:01 +00:00
HOMEPAGE= https://www.gnu.org/software/gettext/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
1998-11-24 07:30:48 +00:00
2013-01-21 22:08:52 +00:00
# LGPLv2.1, GPLv3
2000-03-07 07:51:32 +00:00
PERMIT_PACKAGE_CDROM= Yes
2000-02-12 08:02:07 +00:00
MODULES= converters/libiconv
2010-07-03 03:23:22 +00:00
WANTLIB= c expat m ncurses stdc++
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-csharp \
2010-07-03 03:23:22 +00:00
--disable-java \
--with-libiconv-prefix="${LOCALBASE}" \
--with-included-gettext \
--with-included-glib \
--with-included-libcroco \
2010-07-03 03:23:22 +00:00
--with-included-libunistring \
--with-included-libxml \
2010-07-03 03:23:22 +00:00
--without-emacs \
--without-git
CONFIGURE_ENV += gl_cv_have_weak=yes
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
EXTRA_LOCALES= en he lv no
1998-11-24 07:30:48 +00:00
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
1998-11-24 07:30:48 +00:00
.include <bsd.port.mk>