freebsd-ports/devel/gettext-devel/Makefile

66 lines
1.7 KiB
Makefile
Raw Normal View History

# 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$
#
2000-04-11 17:30:15 -04:00
PORTNAME= gettext
PORTVERSION= 0.10.40
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gettext
2001-07-05 02:36:01 -04:00
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= giconv.2:${PORTSDIR}/converters/libiconv
NO_LATEST_LINK= yes
USE_BISON= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
2001-07-05 02:36:01 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
Upgrade to GNOME 1.0. The following are the details: ports/audio/esound 0.2.7 -> 0.2.8 PR ports/10422 ports/audio/gnomeaudio 0.99.8 -> 1.0.0 PR ports/10426 ports/audio/libaudiofile 0.1.5 -> 0.1.6 PR ports/10421 ports/deskutils/gnomepim 0.99.8.1 -> 1.0.1 PR ports/10435 ports/devel/ORBit 0.3.98 -> 0.4.0 PR ports/10423 ports/devel/gettext shared libs now PR ports/10293 ports/devel/glib12 1.1.16 -> 1.2.0 PR ports/10419 ports/devel/libgtop 0.99.8 -> 1.0.1 PR ports/10430 ports/games/gnomegames 0.99.8 -> 1.0.1 PR ports/10436 ports/graphics/electriceyes distfile moved PR ports/10437 ports/graphics/imlib 1.9.3 -> 1.9.4 PR ports/10424 ports/lang/gnomeobjc 0.99.3 -> 1.0.1 PR ports/10441 ports/math/gnumeric 0.6 -> 0.15 PR ports/10439 ports/misc/gnomeutils 0.99.5 -> 1.0.1 PR ports/10442 ports/sysutils/gnomeadmin 0.99.1 -> 1.0.1 PR ports/10445 ports/sysutils/gnomecontrolcenter 0.99.3.1 -> 1.0.1 PR ports/10446 ports/sysutils/gtop 0.99.2 -> 1.0.1 PR ports/10477 ports/textproc/libxml 0.99.8 -> 1.0.0 PR ports/10438 ports/www/libghttp distfile moved PR ports/10429 ports/x11/gnome 0.99.3 -> 1.0.0 PR ports/10450 ports/x11/gnomecore 0.99.8.1 -> 1.0.1 PR ports/10432 ports/x11/gnomelibs 0.99.8.1 -> 1.0.1 PR ports/10425 ports/x11-fm/gnomemc 4.5.10 -> 4.5.23 PR ports/10448 ports/x11-toolkits/gtk-engines 0.1 -> 0.5 PR ports/10427 ports/x11-toolkits/gtk12 1.1.6 -> 1.2.0 PR ports/10420 Note that repository copies were made before this commit, as follows: ports/devel/glib11-devel -> ports/devel/glib12 ports/x11-toolkits/gtk11-devel -> ports/x11-toolkits/gtk12 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
1999-03-08 20:13:40 -05:00
PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
2001-07-05 02:36:01 -04:00
MAN3= bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
dcngettext.3 dgettext.3 dngettext.3 gettext.3 ngettext.3 \
textdomain.3
# X X X - I know, but it doesn't work with BSD iconv yet. :(((
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e \
2001-07-05 02:36:01 -04:00
's|-liconv|-lgiconv|g ; s|iconv\.h|giconv\.h|g'
1998-08-31 09:54:51 -04:00
pre-configure:
${RM} ${WRKSRC}/doc/gettext.info*
.if !defined(WANT_FULL_GETTEXT)
BINFILES= gettext msgcmp msgcomm msgfmt msgmerge msgunfmt \
ngettext xgettext
PLIST= ${WRKDIR}/PLIST
CONFIGURE_ARGS= --disable-shared
.undef MAN3
.undef INSTALLS_SHLIB
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/misc/gettextize \
${PREFIX}/bin/gettextize-new
@${ECHO_CMD} bin/gettextize-new > ${WRKDIR}/PLIST
.for file in ${BINFILES}
${INSTALL_PROGRAM} ${WRKSRC}/src/${file} ${PREFIX}/bin/${file}-new
@${ECHO_CMD} bin/${file}-new >> ${WRKDIR}/PLIST
.endfor
.else
1998-09-23 13:58:38 -04:00
post-install:
@install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
${MKDIR} ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
${PREFIX}/share/emacs/site-lisp/po-mode.el
Upgrade to GNOME 1.0. The following are the details: ports/audio/esound 0.2.7 -> 0.2.8 PR ports/10422 ports/audio/gnomeaudio 0.99.8 -> 1.0.0 PR ports/10426 ports/audio/libaudiofile 0.1.5 -> 0.1.6 PR ports/10421 ports/deskutils/gnomepim 0.99.8.1 -> 1.0.1 PR ports/10435 ports/devel/ORBit 0.3.98 -> 0.4.0 PR ports/10423 ports/devel/gettext shared libs now PR ports/10293 ports/devel/glib12 1.1.16 -> 1.2.0 PR ports/10419 ports/devel/libgtop 0.99.8 -> 1.0.1 PR ports/10430 ports/games/gnomegames 0.99.8 -> 1.0.1 PR ports/10436 ports/graphics/electriceyes distfile moved PR ports/10437 ports/graphics/imlib 1.9.3 -> 1.9.4 PR ports/10424 ports/lang/gnomeobjc 0.99.3 -> 1.0.1 PR ports/10441 ports/math/gnumeric 0.6 -> 0.15 PR ports/10439 ports/misc/gnomeutils 0.99.5 -> 1.0.1 PR ports/10442 ports/sysutils/gnomeadmin 0.99.1 -> 1.0.1 PR ports/10445 ports/sysutils/gnomecontrolcenter 0.99.3.1 -> 1.0.1 PR ports/10446 ports/sysutils/gtop 0.99.2 -> 1.0.1 PR ports/10477 ports/textproc/libxml 0.99.8 -> 1.0.0 PR ports/10438 ports/www/libghttp distfile moved PR ports/10429 ports/x11/gnome 0.99.3 -> 1.0.0 PR ports/10450 ports/x11/gnomecore 0.99.8.1 -> 1.0.1 PR ports/10432 ports/x11/gnomelibs 0.99.8.1 -> 1.0.1 PR ports/10425 ports/x11-fm/gnomemc 4.5.10 -> 4.5.23 PR ports/10448 ports/x11-toolkits/gtk-engines 0.1 -> 0.5 PR ports/10427 ports/x11-toolkits/gtk12 1.1.6 -> 1.2.0 PR ports/10420 Note that repository copies were made before this commit, as follows: ports/devel/glib11-devel -> ports/devel/glib12 ports/x11-toolkits/gtk11-devel -> ports/x11-toolkits/gtk12 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
1999-03-08 20:13:40 -05:00
${MKDIR} ${X11BASE}/share/locale
.endif
1998-09-23 13:58:38 -04:00
.include <bsd.port.mk>