openbsd-ports/devel/gettext/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

2006-10-28 07:19:20 -04:00
# $OpenBSD: Makefile,v 1.44 2006/10/28 11:19:20 espie Exp $
1998-11-24 02:30:48 -05:00
2001-04-04 15:51:40 -04:00
COMMENT= "GNU gettext"
DISTNAME= gettext-0.14.6
2006-10-28 07:19:20 -04:00
SHARED_LIBS += intl 3.0 # .7.3
SHARED_LIBS += asprintf 1.0 # .0.0
SHARED_LIBS += gettextlib 0.0 # .0.0
SHARED_LIBS += gettextsrc 0.0 # .0.0
SHARED_LIBS += gettextpo 1.0 # .1.0
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
HOMEPAGE= http://www.gnu.org/software/gettext/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
1998-11-24 02:30:48 -05:00
# GPL
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
MODULES= converters/libiconv
2006-08-01 18:46:16 -04:00
LIB_DEPENDS= expat.>=4::textproc/expat
WANTLIB= c
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-included-gettext \
--with-libiconv-prefix="${LOCALBASE}" \
--with-libexpat-prefix="${LOCALBASE}" \
--mandir="${PREFIX}/man"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
EXTRA_LOCALES= bg en eo he hu hr lv nb
2001-08-27 15:16:00 -04:00
1998-11-24 02:30:48 -05: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 02:30:48 -05:00
.include <bsd.port.mk>