Date: Fri, 24 Sep 2004 20:25:01 +0200 (CEST) From: Jose M Rodriguez (freebsd) <josemi@freebsd.jazztel.es> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72067: [PATCH] editors/vim: i18n and extra support Message-ID: <200409241825.i8OIP10X094331@redesjm.local> Resent-Message-ID: <200409241830.i8OIUEHJ051410@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72067 >Category: ports >Synopsis: [PATCH] editors/vim: i18n and extra support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 24 18:30:14 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jose M Rodriguez (freebsd) >Release: FreeBSD 5.3-BETA5 i386 >Organization: Redes JM >Environment: System: FreeBSD orion.redesjm.local 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Thu Sep 23 21:01:37 CEST 2004 >Description: + minor tewaks + i18n tarball and i18n enabled builds + extra tarball (needed to work on eclipse int.) + patchlevel upto 028 + take python and tcl out of bento package + make the bento package i18n enabled Out of this patch: - reprocopy vim-lite on vim-gtk2 and tweak + make a libXTF enabled build ready por gnome/kde/xfce4 int. - reprocopy vim-lite on vim-test or vim-devel and tweak + full enabled build for testing Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- vim-6.3.28_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/editors/vim/Makefile /home/freebsd/Proyectos/ports/wk/editors/vim/Makefile --- /usr/ports/editors/vim/Makefile Fri Aug 27 19:50:32 2004 +++ /home/freebsd/Proyectos/ports/wk/editors/vim/Makefile Fri Sep 24 20:18:09 2004 @@ -7,44 +7,65 @@ # PORTNAME?= vim -PATCHLEVEL= 16 +PATCHLEVEL= 28 PORTVERSION= 6.3.${PATCHLEVEL} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= editors MASTER_SITES= ${MASTER_SITE_VIM} DISTNAME= vim-${PORTVERSION:C/\.[0-9a-z]*$//} +MAINTAINER?= obrien@FreeBSD.org +COMMENT?= Vi "workalike", with many additional features -PATCH_SITES= ${MASTER_SITES:S|unix|patches/${PORTVERSION:C/\.[0-9a-z]*$//}|} +.if defined(WITH_I18N) || defined(WITH_EXTRA) +MASTER_SITES+= ${MASTER_SITE_VIM:S/unix\/$/extra\/:vim_extra/} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +.endif + +PATCH_SITES= ${MASTER_SITES:S|unix/$|patches/${PORTVERSION:C/\.[0-9a-z]*$//}/|} PATCHFILES!= /usr/bin/jot -s " " -w ${PORTVERSION:C/\.[0-9]*$//}.%03d \ ${PATCHLEVEL} 1 ${PATCHLEVEL} -# bits to remove +# bits to remove and extras BADPATCHES= 000 + +.if defined(WITH_EXTRA) +EXTRA_FILE= ${DISTNAME}-extra.tar.gz +DISTFILES+= ${EXTRA_FILE}:vim_extra +.else +# badpatches by missing EXTRA_FILE +BADPATCHES+= 022 025 +.endif + +.if defined(WITH_I18N) +LANG_FILE= ${DISTNAME}-lang.tar.gz +DISTFILES+= ${LANG_FILE}:vim_extra +USE_GETTEXT= yes +.else +# badpatches by missing LANG_FILE +.endif + .for p in ${BADPATCHES} PATCHFILES:= ${PATCHFILES:N6.3.${p}} .endfor -MAINTAINER?= obrien@FreeBSD.org -COMMENT?= Vi "workalike", with many additional features - SLAVEDIRS= editors/vim-lite .if defined(PACKAGE_BUILDING) && !defined(LITE) -WITH_TCL= yes WITH_PERL= yes -WITH_PYTHON= yes WITH_CSCOPE= yes +WITH_I18N= yes .endif USE_BZIP2= yes USE_REINPLACE= yes DIST_SUBDIR= vim WRKSRC= ${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src -PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP} +PATCH_DIST_ARGS= -d ${WRKSRC:S/src$//} --batch --forward --quiet -E ${PATCH_DIST_STRIP} # consider #PATCH_DIST_ARGS= -t MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}" ALL_TARGET= # -_DATADIR= ${DISTNAME:S/-//g:S/.//g} +_DATADIR= vim${PORTVERSION:C/\.[0-9]*$//:S/.//g} DATADIR= ${PREFIX}/share/vim/${_DATADIR} PLIST_SUB= VIM_VER=${_DATADIR} MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1 @@ -134,6 +155,18 @@ .if exists(${PREFIX}/lib/libiconv.so) USE_ICONV= yes +.endif + +post-extract: + +.if defined(WITH_EXTRA) + @${ECHO_MSG} ">>> extracting ${EXTRA_FILE} ..." + @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTRA_FILE} +.endif + +.if defined(WITH_I18N) + @${ECHO_MSG} ">>> extracting ${LANG_FILE} ..." + @${TAR} -C ${WRKDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LANG_FILE} .endif pre-configure: diff -ruN --exclude=CVS /usr/ports/editors/vim/distinfo /home/freebsd/Proyectos/ports/wk/editors/vim/distinfo --- /usr/ports/editors/vim/distinfo Fri Aug 27 19:50:32 2004 +++ /home/freebsd/Proyectos/ports/wk/editors/vim/distinfo Fri Sep 24 18:15:57 2004 @@ -1,5 +1,9 @@ MD5 (vim/vim-6.3.tar.bz2) = 821fda8f14d674346b87e3ef9cb96389 SIZE (vim/vim-6.3.tar.bz2) = 3699397 +MD5 (vim/vim-6.3-extra.tar.gz) = 6e4bd6c8122bcb9dc576514bdb52484e +SIZE (vim/vim-6.3-extra.tar.gz) = 868609 +MD5 (vim/vim-6.3-lang.tar.gz) = 5395c4dacbf1c5008b22c4b86794e8a7 +SIZE (vim/vim-6.3-lang.tar.gz) = 1057792 MD5 (vim/6.3.001) = 798fc87d3ebc06e7f104ff30960a4630 SIZE (vim/6.3.001) = 2672 MD5 (vim/6.3.002) = 039c3f84677116a20ad98e09a03d827d @@ -32,3 +36,27 @@ SIZE (vim/6.3.015) = 1207 MD5 (vim/6.3.016) = 2f58e8b00f4614c2b071838d299310b6 SIZE (vim/6.3.016) = 1735 +MD5 (vim/6.3.017) = 821323cc5cdefbc69899e6bc8b30bc30 +SIZE (vim/6.3.017) = 1364 +MD5 (vim/6.3.018) = 735e869f92d6c80c6d43c837dee670b3 +SIZE (vim/6.3.018) = 1844 +MD5 (vim/6.3.019) = f6885686d11cd7f794805a70ee849579 +SIZE (vim/6.3.019) = 1992 +MD5 (vim/6.3.020) = e51adda32a4a1a73dff2e92b3715b1ef +SIZE (vim/6.3.020) = 1915 +MD5 (vim/6.3.021) = 559410e68495eed2fd05e65533b03aa8 +SIZE (vim/6.3.021) = 2822 +MD5 (vim/6.3.022) = 7f5bdfd30410e22776711a49404583b3 +SIZE (vim/6.3.022) = 2173 +MD5 (vim/6.3.023) = 2f460f5691c31d14354f5ca20536b6f1 +SIZE (vim/6.3.023) = 6419 +MD5 (vim/6.3.024) = e3e1f86a74242731d93a009cb692f952 +SIZE (vim/6.3.024) = 2456 +MD5 (vim/6.3.025) = f45faa33e3ccc853f0fae4f76421bb1f +SIZE (vim/6.3.025) = 1409 +MD5 (vim/6.3.026) = 30c225d5ee55b073eec23037969edb48 +SIZE (vim/6.3.026) = 3070 +MD5 (vim/6.3.027) = c6f122ba3c95d03f835842d05d66c3bd +SIZE (vim/6.3.027) = 7500 +MD5 (vim/6.3.028) = 11c22371c8ca2e3588f894bba8c5409f +SIZE (vim/6.3.028) = 2128 --- vim-6.3.28_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409241825.i8OIP10X094331>