Permalink
Browse files

Add a bunch of modified ports for 10.0, so we can fix the building

  • Loading branch information...
1 parent 0c2a506 commit 1e102bd79cc788183085fa95ac47f20ffbb14f52 @kmoore134 kmoore134 committed Oct 14, 2013
Showing with 9,175 additions and 0 deletions.
  1. +308 −0 build-files/ports-overlay/editors/vim/Makefile
  2. +12 −0 build-files/ports-overlay/editors/vim/add-bad.sh
  3. +2,616 −0 build-files/ports-overlay/editors/vim/distinfo
  4. +77 −0 build-files/ports-overlay/editors/vim/files/patch-01
  5. +47 −0 build-files/ports-overlay/editors/vim/files/patch-configure
  6. +42 −0 build-files/ports-overlay/editors/vim/files/patch-installml.sh
  7. +286 −0 build-files/ports-overlay/editors/vim/files/vietnamese_viscii.vim
  8. +24 −0 build-files/ports-overlay/editors/vim/options
  9. +23 −0 build-files/ports-overlay/editors/vim/pkg-descr
  10. +43 −0 build-files/ports-overlay/editors/vim/pkg-plist
  11. +100 −0 build-files/ports-overlay/emulators/open-vm-tools/Makefile
  12. +2 −0 build-files/ports-overlay/emulators/open-vm-tools/distinfo
  13. +12 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-appUtilX11.c
  14. +12 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-arch
  15. +170 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-freebsd-8
  16. +38 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-freebsd-9
  17. +40 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-getpwnam
  18. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-guestApp.c
  19. +22 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-hgfsmounter-Makefile.in
  20. +10 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-hostinfoPosix.c
  21. +22 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-libguestlib-Makefile
  22. +19 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-modules-Makefile.in
  23. +17 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-net_compat.h
  24. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-scripts-Makefile
  25. +10 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-scripts-network
  26. +22 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-services-Makefile
  27. +20 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-util_misc.c
  28. +10 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vm_basic_types.h
  29. +24 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmblock-vnops.c
  30. +27 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmhgfs-Makefile
  31. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmhgfs-kernelStubs.h
  32. +31 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmhgfs-state.c
  33. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmhgfs-vnopscommon.c
  34. +50 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmmemctl-os.c
  35. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-vmtoolsd-Makefile.in
  36. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/patch-wrapper-Makefile.am
  37. +11 −0 build-files/ports-overlay/emulators/open-vm-tools/files/pkg-message.in
  38. +29 −0 build-files/ports-overlay/emulators/open-vm-tools/files/vmware-guestd.in
  39. +101 −0 build-files/ports-overlay/emulators/open-vm-tools/files/vmware-kmod.in
  40. +13 −0 build-files/ports-overlay/emulators/open-vm-tools/pkg-descr
  41. +83 −0 build-files/ports-overlay/emulators/open-vm-tools/pkg-plist
  42. +198 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/Makefile
  43. +2 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/distinfo
  44. +18 −0 ...mulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-VBoxGuestLib-Makefile.kmk
  45. +40 −0 ...ay/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-crOpenGL-Makefile.kmk
  46. +120 −0 ...y/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-common-crOpenGL-fakedri_drv.c
  47. +27 −0 ...emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-x11-Installer-98vboxadd-xclient
  48. +10 −0 ...mulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-x11-Installer-vboxclient.desktop
  49. +20 −0 ...rlay/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-x11-vboxvideo-Makefile.kmk
  50. +16 −0 ...ulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-alloc-r0drv-freebsd.c
  51. +56 −0 ...lators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c
  52. +48 −0 ...albox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_MAP_FIND.c
  53. +132 −0 ...-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_OBJECT_RENAME.c
  54. +20 −0 ...mulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-the-freebsd-kernel.h
  55. +69 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/files/vboxguest.in
  56. +25 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/files/vboxservice.in
  57. +9 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/pkg-descr
  58. +21 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/pkg-message
  59. +31 −0 build-files/ports-overlay/emulators/virtualbox-ose-additions/pkg-plist
  60. +49 −0 build-files/ports-overlay/graphics/enblend/Makefile
  61. +2 −0 build-files/ports-overlay/graphics/enblend/distinfo
  62. +7 −0 build-files/ports-overlay/graphics/enblend/pkg-descr
  63. +25 −0 build-files/ports-overlay/graphics/kcoloredit/Makefile
  64. +2 −0 build-files/ports-overlay/graphics/kcoloredit/distinfo
  65. +4 −0 build-files/ports-overlay/graphics/kcoloredit/pkg-descr
  66. +120 −0 build-files/ports-overlay/graphics/kcoloredit/pkg-plist
  67. +71 −0 build-files/ports-overlay/graphics/opencolorio/Makefile
  68. +2 −0 build-files/ports-overlay/graphics/opencolorio/distinfo
  69. +10 −0 build-files/ports-overlay/graphics/opencolorio/files/extra-patch-CMakeLists.txt
  70. +17 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-docs__CMakeLists.txt
  71. +11 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-export__OpenColorIO__OpenColorABI.h.in
  72. +20 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-share__cmake__OCIOMacros.cmake
  73. +11 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-src__apps__ocioconvert__CMakeLists.txt
  74. +11 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-src__apps__ociolutimage__CMakeLists.txt
  75. +8 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-src__core__CMakeLists.txt
  76. +12 −0 build-files/ports-overlay/graphics/opencolorio/files/patch-src__core__Platform.h
  77. +5 −0 build-files/ports-overlay/graphics/opencolorio/pkg-descr
  78. +134 −0 build-files/ports-overlay/graphics/opencolorio/pkg-plist
  79. +5 −0 build-files/ports-overlay/graphics/opencolorio/pkg-plist-tools
  80. +134 −0 build-files/ports-overlay/multimedia/mythtv/Makefile
  81. +2 −0 build-files/ports-overlay/multimedia/mythtv/distinfo
  82. +42 −0 build-files/ports-overlay/multimedia/mythtv/files/mythbackend.in
  83. +71 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-configure
  84. +11 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-extern__zeromq__doc__Makefile.in
  85. +31 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-external__FFmpeg__configure
  86. +11 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythdvdnav__dvdnav__dvdnav.c
  87. +12 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__dvbdev__dvbci.cpp
  88. +29 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__dvbstreamhandler.cpp
  89. +11 −0 build-files/ports-overlay/multimedia/mythtv/files/patch-libs__libmythtv__videoout_vdpau.cpp
  90. +13 −0 build-files/ports-overlay/multimedia/mythtv/files/pkg-message.in
  91. +13 −0 build-files/ports-overlay/multimedia/mythtv/pkg-descr
  92. +2,277 −0 build-files/ports-overlay/multimedia/mythtv/pkg-plist
  93. +34 −0 build-files/ports-overlay/science/step/Makefile
  94. +2 −0 build-files/ports-overlay/science/step/distinfo
  95. +9 −0 build-files/ports-overlay/science/step/pkg-descr
  96. +97 −0 build-files/ports-overlay/science/step/pkg-plist
  97. +50 −0 build-files/ports-overlay/security/dirmngr/Makefile
  98. +4 −0 build-files/ports-overlay/security/dirmngr/distinfo
  99. +6 −0 build-files/ports-overlay/security/dirmngr/pkg-descr
  100. +61 −0 build-files/ports-overlay/security/dirmngr/pkg-plist
  101. +127 −0 build-files/ports-overlay/security/ossec-hids-server/Makefile
  102. +2 −0 build-files/ports-overlay/security/ossec-hids-server/distinfo
  103. +19 −0 build-files/ports-overlay/security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c
  104. +52 −0 build-files/ports-overlay/security/ossec-hids-server/files/ossec-hids.in
  105. +28 −0 build-files/ports-overlay/security/ossec-hids-server/files/patch-src__InstallServer.sh
  106. +7 −0 build-files/ports-overlay/security/ossec-hids-server/files/patch-src__LOCATION
  107. +12 −0 build-files/ports-overlay/security/ossec-hids-server/files/patch-src__headers__defs.h
  108. +21 −0 build-files/ports-overlay/security/ossec-hids-server/files/pkg-message.in
  109. +6 −0 build-files/ports-overlay/security/ossec-hids-server/pkg-descr
  110. +154 −0 build-files/ports-overlay/security/ossec-hids-server/pkg-plist
@@ -0,0 +1,308 @@
+# Created by: David O'Brien <obrien@cs.ucdavis.edu>
+# $FreeBSD: editors/vim/Makefile 328318 2013-09-25 21:16:43Z obrien $
+
+PORTNAME?= vim
+# ! _NEVER_ reduce or lower PATCHLEVEL, even if the PATCHLEVEL
+# ! value # is added to BADPATCHES. Doing otherwise will cause
+# ! PORTEPOCH to be needed, which we do NOT want.
+#
+# ! DO NOT increase PATCHLEVEL to a patch listed in BADPATCHES.
+# ! Doing so is dis-genuine. It implies we're at a level we are
+# ! not. The "PATCHLEVEL" patch needs to apply before bumping
+# ! PATCHLEVEL to that level.
+PATCHLEVEL= 1314
+PORTVERSION= 7.3.${PATCHLEVEL}
+RELEASE= vim-${PORTVERSION:C/\.[0-9a-z]*$//}
+PORTREVISION?= 0
+CATEGORIES?= editors
+MASTER_SITES= ${MASTER_SITE_VIM}
+DISTFILES= ${RELEASE}${EXTRACT_SUFX}
+
+PATCH_SITES= ${MASTER_SITES:S|unix|patches/${PORTVERSION:C/\.[0-9a-z]*$//}|}\
+ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/obrien/:local
+PATCHFILES!= /usr/bin/jot -s " " -w ${PORTVERSION:C/\.[0-9]*$//}.%03d \
+ ${PATCHLEVEL} 1 ${PATCHLEVEL}
+# bits to remove
+BADPATCHES= 527 780 796 873 890 1104 1111
+.for p in ${BADPATCHES}
+PATCHFILES:= ${PATCHFILES:N7.3.${p}}
+.endfor
+
+MAINTAINER?= obrien@FreeBSD.org
+COMMENT?= Vi "workalike", with many additional features
+
+SLAVEDIRS= editors/vim-lite
+NO_STAGE= yes
+
+.if !defined(LITE)
+.if defined(WITH_OPTIONS) || defined(WITH_VIM_OPTIONS)
+.include "${.CURDIR}/../vim/options"
+OPTIONS_DEFAULT+= CSCOPE EXUBERANT_CTAGS PERL PYTHON RUBY \
+ TCL LUA X11 GTK2
+.else
+VIM_PORT_SCRIPT_LANGS?= LUA PERL PYTHON RUBY TCL
+VIM_PORT_OPTIONS= CSCOPE DOCS EXAMPLES EXUBERANT_CTAGS \
+ ${VIM_PORT_SCRIPT_LANGS}
+PORT_OPTIONS?= ${VIM_PORT_OPTIONS}
+.endif
+.endif
+
+.include <bsd.port.options.mk>
+
+CONFLICTS= vim6* vim*-gnome
+.if defined(LITE)
+CONFLICTS+= vim*
+.else
+CONFLICTS+= vim*-lite
+.endif
+
+MAKE_JOBS_UNSAFE= yes
+USE_GCC= yes
+USE_BZIP2= 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}
+# consider
+#PATCH_DIST_ARGS= -t
+REINPLACE_ARGS= -i ""
+MAKE_ARGS+= CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib ${CSCOPE_ARG}"
+ALL_TARGET= #
+_DATADIR= ${RELEASE:S/-//g:S/.//g}
+DATADIR= ${PREFIX}/share/vim/${_DATADIR}
+PLIST_SUB= VIM_VER=${_DATADIR}
+MAN1= evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1
+MLINKS= vim.1 rvim.1 vim.1 rview.1
+.if !defined(LITE)
+MLINKS+= vim.1 gvim.1 vim.1 gview.1 vimdiff.1 gvimdiff.1 \
+ vim.1 rgvim.1 vim.1 rgview.1 evim.1 eview.1
+.endif
+
+.if ${PORT_OPTIONS:MNLS}
+MANLANG= "" ru.KOI8-R ru.UTF-8 pl.ISO8859-2 pl.UTF-8 pl fr.ISO8859-1 \
+ fr.UTF-8 fr it.ISO8859-1 it.UTF-8 it
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
+MAKE_ARGS+= CONF_OPT_NLS="--disable-nls"
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.if ${PORT_OPTIONS:MPYTHON}
+USE_PYTHON= yes
+MAKE_ARGS+= CONF_OPT_PYTHON="--enable-pythoninterp"
+.endif
+
+.if ${PORT_OPTIONS:MRUBY}
+USE_RUBY= yes
+MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
+.endif
+
+.if ${PORT_OPTIONS:MTCL}
+USE_TCL= 85+
+MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp --with-tclsh="${TCLSH:S/${LOCALBASE}\/bin\///g}""
+.endif
+
+.if ${PORT_OPTIONS:MLUA}
+USE_LUA= yes
+MAKE_ARGS+= CONF_OPT_LUA="--enable-luainterp=dynamic"
+MAKE_ARGS+= CONF_OPT_LUA_PREFIX="--with-lua-prefix=${LOCALBASE}"
+.endif
+
+.if ${PORT_OPTIONS:MPERL}
+USES= perl5
+MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp"
+.endif
+
+WANT_GNOME= yes
+
+.if defined(LITE)
+PKGNAMESUFFIX= -lite
+CONF_OPT_GUI="--enable-gui=no --without-x --enable-multibyte"
+MAKE_ARGS+= CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp --disable-luainterp"
+.else # !LITE
+MAKE_ARGS+= CONF_OPT_FEAT="--with-features=big"
+I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim"
+CONF_OPT_GUI="--enable-gui=no --without-x"
+.endif
+
+.if ${PORT_OPTIONS:MCSCOPE}
+RUN_DEPENDS+= cscope:${PORTSDIR}/devel/cscope
+MAKE_ARGS+= CONF_OPT_CSCOPE="--enable-cscope"
+.endif
+
+.if ${PORT_OPTIONS:MEXUBERANT_CTAGS}
+RUN_DEPENDS+= exctags:${PORTSDIR}/devel/ctags
+CTAGS_CMD= exctags -R .
+.else
+CTAGS_CMD= ${FIND} . -type f \\|${XARGS} ctags
+.endif
+
+.if ${PORT_OPTIONS:MX11}
+CONF_OPT_GUI="--enable-gui=no --with-x"
+
+. if ${PORT_OPTIONS:MATHENA}
+CONF_OPT_GUI="--enable-gui=athena"
+USE_XORG+= xaw
+. endif
+
+. if ${PORT_OPTIONS:MGTK2}
+USE_GNOME= gtk20
+CONF_OPT_GUI="--enable-gui=gtk2 --with-gtk-prefix=${LOCALBASE}"
+MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+USE_XORG+= xt
+. endif
+
+. if ${PORT_OPTIONS:MGNOME}
+USE_GNOME= libgnomeui
+PKGNAMESUFFIX= -gnome2
+CONF_OPT_GUI="--enable-gui=gnome2"
+MAKE_ARGS+= X_LIBS="$(X_LIBS) -lXt"
+USE_XORG+= xt glproto
+. endif
+
+. if ${PORT_OPTIONS:MMOTIF}
+USES+= motif
+CONF_OPT_GUI="--enable-gui=motif --with-motif-lib=\"${MOTIFLIB}\""
+MAKE_ARGS+= MOTIFHOME=${LOCALBASE}
+. endif
+
+.endif
+MAKE_ARGS+= CONF_OPT_GUI=${CONF_OPT_GUI} ${I18N}
+
+
+.if exists(${LOCALBASE}/lib/libiconv.so)
+USES+= iconv
+.endif
+
+
+post-patch:
+ @(${FIND} ${WRKSRC}/../runtime/ -name menu\*.vim -print0 | ${XARGS} -0 \
+ ${REINPLACE_CMD} -e 's,ctags -R \.,${CTAGS_CMD},g')
+.if !defined(STRIP) || ${STRIP} == ""
+ ${REINPLACE_CMD} '/$$(STRIP)/d' ${WRKSRC}/Makefile
+.endif
+
+pre-configure:
+ @${CP} -pv ${WRKSRC}/config.mk.dist ${WRKSRC}/auto/config.mk
+ @(cd ${WRKSRC} ; ${MAKE} distclean)
+ @${REINPLACE_CMD} -e ' \
+ s|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
+ s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \
+ s|/usr/local|${LOCALBASE}|g; \
+ s|set dummy lua;|set dummy lua-${LUA_VER};|g' \
+ ${WRKSRC}/auto/configure
+.if ${PORT_OPTIONS:MXTERM_SAVE}
+ @${REINPLACE_CMD} -e ' \
+ s|/\* #define FEAT_XTERM_SAVE \*/|#define FEAT_XTERM_SAVE|g' \
+ ${WRKSRC}/feature.h
+.endif
+
+post-configure:
+ @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} scratch config)
+ ${REINPLACE_CMD} -e 's@#define HAVE_SYSINFO 1@/* #undef HAVE_SYSINFO */@' ${WRKSRC}/auto/config.h
+
+# Clean up junk files to keep them from being installed.
+pre-install:
+ @${FIND} ${WRKSRC:H} -type f -name '*.orig' -delete
+
+post-install:
+ [ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim)
+ # below needed for `vim-lite' port
+ ${TEST} -e ${PREFIX}/bin/rgvim || (cd ${PREFIX}/bin ; ${LN} -sf vim rgvim)
+ ${TEST} -e ${PREFIX}/bin/gview || (cd ${PREFIX}/bin ; ${LN} -sf vim gview)
+ ${TEST} -e ${PREFIX}/bin/rgview || (cd ${PREFIX}/bin ; ${LN} -sf vim rgview)
+ ${TEST} -e ${PREFIX}/bin/evim || (cd ${PREFIX}/bin ; ${LN} -sf vim evim)
+ ${TEST} -e ${PREFIX}/bin/eview || (cd ${PREFIX}/bin ; ${LN} -sf vim eview)
+ ${TEST} -e ${PREFIX}/bin/gvimdiff \
+ || (cd ${PREFIX}/bin ; ${LN} -sf vim gvimdiff)
+ ${TEST} -e ${PREFIX}/bin/gvimtutor \
+ || (cd ${PREFIX}/bin ; ${LN} -sf vimtutor gvimtutor)
+ ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap
+ cd ${PREFIX} ; \
+ ${FIND} share/vim/${_DATADIR} -type f -o -type l \
+ | ${SORT} \
+ >${WRKDIR}/PLIST.share-vim
+ cd ${PREFIX} ; \
+ ${FIND} share/vim/${_DATADIR} -type d \
+ | ${SORT} -r | ${SED} -e 's/^/@dirrm /g' \
+ >>${WRKDIR}/PLIST.share-vim
+ ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
+ ${ECHO_CMD} "/Insert PLIST.share-vim" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-vim" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
+ ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-vim
+ cd ${WRKDIR} ; ex < ex.script
+
+show-options:
+ @${MAKE} -DWITH_OPTIONS showconfig
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "Put \"WITH_OPTIONS=yes\" -or- \"WITH_VIM_OPTIONS=yes\""
+ @${ECHO_CMD} "in your /etc/make.conf or /etc/ports.conf file to enable OPTIONS processing.
+
+.if defined(ONT_CHECKSUM)
+checksum:
+.endif
+
+cklatest: .PHONY
+ @${ECHO} -n "Currently at: "
+ @${MAKE} -V PATCHLEVEL
+ -(${SED} -i '' "s/^PATCHLEVEL=.*$$/PATCHLEVEL= `ncftpls \
+ ftp://ftp.vim.org/pub/vim/patches/${PORTVERSION:C/\.[0-9a-z]*$//}/ \
+ | grep "^${PORTVERSION:C/\.[0-9a-z]*$//}" \
+ | ${SED} -n -E -e 's/${PORTVERSION:C/[0-9]*$//}([0-9]+)$$/\1/p' \
+ | sort -n | ${TAIL} -1`/" Makefile)
+ @${ECHO} -n "Now at: "
+ @${MAKE} -V PATCHLEVEL
+
+find-bad-patches:
+ @cd ${DISTDIR} ; egrep -l \
+ '(src/if_(ole|mzsch)|src/gui_(w32|w48|mac)|src/os_(riscos|cyg|os2|vms|amiga|win32|mswin))|src(/testdir)?/Make_(dos|cyg|vms|mvc|ming|os2|amiga|mms)'\
+ vim/${PORTVERSION:C/\.[0-9a-z]*$//}*
+
+ckp:
+ /usr/bin/time -h ${MAKE} -DPATCH_DEBUG -DONT_CHECKSUM clean patch
+
+ckmtree:
+ ${MTREE_CMD} -f ${MTREE_FILE} -p ${PREFIX}
+
+do-patch:
+ @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME} from `pwd`"
+ @set -e ; \
+ (cd ${_DISTDIR} ; \
+ for i in ${_PATCHFILES}; do \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying distribution patch $$i" ; \
+ fi ; \
+ ${PATCH} ${PATCH_DIST_ARGS} -i ${_DISTDIR}/$$i; \
+ done )
+ @set -e ;\
+ if [ -d ${PATCHDIR} ]; then \
+ if [ "`${ECHO_CMD} ${PATCHDIR}/patch-*`" != "${PATCHDIR}/patch-*" ]; then \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patches for ${PKGNAME}" ; \
+ PATCHES_APPLIED="" ; \
+ for i in ${PATCHDIR}/patch-*; do \
+ case $$i in \
+ *.orig|*.rej|*~|*,v) \
+ ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \
+ ;; \
+ *) \
+ if [ ${PATCH_DEBUG_TMP} = yes ]; then \
+ ${ECHO_MSG} "===> Applying ${OPSYS} patch $$i" ; \
+ fi; \
+ if ${PATCH} ${PATCH_ARGS} < $$i ; then \
+ PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \
+ else \
+ ${ECHO_MSG} `${ECHO_CMD} "=> Patch $$i failed to apply cleanly." | ${SED} "s|${PATCHDIR}/||"` ; \
+ if [ x"$$PATCHES_APPLIED" != x"" ]; then \
+ ${ECHO_MSG} `${ECHO_CMD} "=> Patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${PATCHDIR}/||g"` ; \
+ fi; \
+ ${FALSE} ; \
+ fi; \
+ ;; \
+ esac; \
+ done; \
+ fi; \
+ fi
+
+.include <bsd.port.mk>
@@ -0,0 +1,12 @@
+:
+# $FreeBSD: editors/vim/add-bad.sh 302686 2012-08-17 16:08:14Z obrien $
+
+usage() {
+ echo 'usage: ${0##*/} <bad patch #s to add to ${BADPATCHES}>'
+ exit 1
+}
+if [ $# -lt 1 ]; then
+ usage
+fi
+
+sed -i '' "s/^BADPATCHES=.*$/& $*/" Makefile
Oops, something went wrong.

0 comments on commit 1e102bd

Please sign in to comment.