2010-10-27 08:54:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.54 2010/10/27 12:54:32 naddy Exp $
|
1998-11-24 02:30:48 -05:00
|
|
|
|
2007-08-25 09:48:23 -04:00
|
|
|
COMMENT= GNU gettext
|
2001-04-04 15:51:40 -04:00
|
|
|
|
2010-07-02 23:23:22 -04:00
|
|
|
DISTNAME= gettext-0.18.1
|
2010-10-26 10:15:01 -04:00
|
|
|
REVISION= 0
|
2010-07-02 23:23:22 -04:00
|
|
|
SHARED_LIBS += intl 5.0 # .9.1
|
2007-08-25 09:48:23 -04:00
|
|
|
SHARED_LIBS += asprintf 1.0 # .0.0
|
2010-07-02 23:23:22 -04:00
|
|
|
SHARED_LIBS += gettextlib 3.0 # .0.0
|
|
|
|
SHARED_LIBS += gettextsrc 3.0 # .0.0
|
|
|
|
SHARED_LIBS += gettextpo 4.0 # .5.1
|
2006-01-06 16:16:16 -05:00
|
|
|
|
1998-11-24 02:30:48 -05:00
|
|
|
CATEGORIES= devel
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=gettext/}
|
1999-03-29 17:44:23 -05:00
|
|
|
|
2000-07-19 01:29:04 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/gettext/
|
|
|
|
|
2005-11-05 18:47:58 -05:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1998-11-24 02:30:48 -05:00
|
|
|
|
2008-06-13 00:56:33 -04:00
|
|
|
# LGPL, GPLv3
|
2000-03-07 02:51:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2005-11-05 18:47:58 -05:00
|
|
|
MODULES= converters/libiconv
|
2010-07-02 23:23:22 -04:00
|
|
|
WANTLIB= c expat m ncurses stdc++
|
2005-11-05 18:47:58 -05:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2008-10-22 15:27:07 -04:00
|
|
|
--disable-csharp \
|
2010-07-02 23:23:22 -04:00
|
|
|
--disable-java \
|
2008-06-13 00:56:33 -04:00
|
|
|
--with-libiconv-prefix="${LOCALBASE}" \
|
2005-11-05 18:47:58 -05:00
|
|
|
--with-included-gettext \
|
2008-06-13 00:56:33 -04:00
|
|
|
--with-included-glib \
|
|
|
|
--with-included-libcroco \
|
2010-07-02 23:23:22 -04:00
|
|
|
--with-included-libunistring \
|
2008-06-13 00:56:33 -04:00
|
|
|
--with-included-libxml \
|
2010-07-02 23:23:22 -04:00
|
|
|
--without-emacs \
|
|
|
|
--without-git
|
2001-05-15 09:12:24 -04:00
|
|
|
|
2005-11-05 18:47:58 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
|
|
|
|
|
2010-07-02 23:23:22 -04:00
|
|
|
EXTRA_LOCALES= en he hr hu lv no
|
2001-08-27 15:16:00 -04:00
|
|
|
|
2010-10-26 10:15:01 -04:00
|
|
|
# avoid triggering autotools rebuild cascade
|
|
|
|
post-patch:
|
|
|
|
touch -r ${WRKSRC}/gettext-runtime/m4/fcntl-o.m4.orig \
|
|
|
|
${WRKSRC}/gettext-runtime/m4/fcntl-o.m4
|
|
|
|
|
1998-11-24 02:30:48 -05:00
|
|
|
post-install:
|
2005-11-05 18:47:58 -05:00
|
|
|
${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
|
2004-08-03 06:09:02 -04:00
|
|
|
@for l in ${EXTRA_LOCALES}; do \
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$$l/LC_MESSAGES; \
|
|
|
|
done
|
1998-11-24 02:30:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|