1998-08-25 12:13:04 -04:00
|
|
|
# New ports collection makefile for: gettext
|
|
|
|
# Date created: 16 March 1998
|
|
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1998-08-25 12:13:04 -04:00
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= gettext
|
2002-08-10 15:25:04 -04:00
|
|
|
PORTVERSION= 0.11.5
|
2002-09-17 12:36:02 -04:00
|
|
|
PORTREVISION= 1
|
1998-08-25 12:13:04 -04:00
|
|
|
CATEGORIES= devel
|
1999-08-25 12:56:46 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= gettext
|
1998-08-25 12:13:04 -04:00
|
|
|
|
2002-09-07 04:44:49 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-08-25 12:13:04 -04:00
|
|
|
|
2002-05-10 11:36:47 -04:00
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
|
2002-09-17 12:36:02 -04:00
|
|
|
expat.4:${PORTSDIR}/textproc/expat2
|
2002-03-15 14:44:29 -05:00
|
|
|
|
2002-04-29 17:23:20 -04:00
|
|
|
USE_LIBTOOL= yes
|
2002-07-31 22:30:59 -04:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= ACLOCAL="${TRUE}" \
|
|
|
|
AUTOCONF="${TRUE}" \
|
|
|
|
AUTOMAKE="${TRUE}" \
|
|
|
|
AUTOHEADER="${TRUE}" \
|
|
|
|
MAKEINFO="makeinfo --no-split" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-03-15 14:44:29 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-07-31 22:30:59 -04:00
|
|
|
CONFIGURE_ARGS= --with-libexpat-prefix=${LOCALBASE}/lib
|
|
|
|
INSTALLS_SHLIB= yes
|
1999-03-08 20:13:40 -05:00
|
|
|
|
2002-06-19 02:31:47 -04:00
|
|
|
PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \
|
|
|
|
VERSION=${PORTVERSION}
|
1998-08-25 12:13:04 -04:00
|
|
|
|
2002-07-31 22:30:59 -04:00
|
|
|
MAN1= autopoint.1 gettext.1 gettextize.1 msgattrib.1 msgcat.1 \
|
|
|
|
msgcmp.1 msgcomm.1 msgconv.1 msgen.1 msgexec.1 \
|
|
|
|
msgfilter.1 msgfmt.1 msggrep.1 msginit.1 msgmerge.1 \
|
|
|
|
msgunfmt.1 msguniq.1 ngettext.1 xgettext.1
|
2002-03-15 14:44:29 -05:00
|
|
|
MAN3= bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
|
|
|
|
dcngettext.3 dgettext.3 dngettext.3 gettext.3 ngettext.3 \
|
|
|
|
textdomain.3
|
|
|
|
|
1998-08-31 09:54:51 -04:00
|
|
|
pre-configure:
|
|
|
|
${RM} ${WRKSRC}/doc/gettext.info*
|
|
|
|
|
1998-09-23 13:58:38 -04:00
|
|
|
post-install:
|
|
|
|
@install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
|
2000-01-22 03:20:02 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/emacs/site-lisp
|
2002-07-31 22:30:59 -04:00
|
|
|
.for file in po-compat.el po-mode.el
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/misc/${file} ${PREFIX}/share/emacs/site-lisp
|
|
|
|
.endfor
|
1999-03-08 20:13:40 -05:00
|
|
|
${MKDIR} ${X11BASE}/share/locale
|
1998-09-23 13:58:38 -04:00
|
|
|
|
1998-08-25 12:13:04 -04:00
|
|
|
.include <bsd.port.mk>
|