---
name: twiki-PreferencesPlugin
version: 0.0.17568
origin: www/twiki-PreferencesPlugin
comment: Edit preferences in-place
arch: freebsd:9:x86:64
www: http://twiki.org/cgi-bin/view/Plugins/PreferencesPlugin
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 23956
desc: |
  Allows editing of preferences using fields predefined in a form.

  Author: Thomas Weigert
  WWW: http://twiki.org/cgi-bin/view/Plugins/PreferencesPlugin
categories: [www]
files:
  /usr/local/share/twiki/PreferencesPlugin/data/TWiki/PreferencesPlugin.txt: 2272561388464c6ce10adcec4718c449bdfe47a70e0e0fd60f8e5dc0f01ba313
  /usr/local/share/twiki/PreferencesPlugin/data/TWiki/TWikiPreferencesForm.txt: f951c66f4b748dfb0bd60eb9d81f48c45fc2a7d13bfa27a19e76b7c9d4702821
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/PreferencesPlugin.pm: 432013e63a9f2209a1513de63e138bcc637253c98dd2d5ebe210dba0b3f8406a
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/PreferencesPlugin/DEPENDENCIES: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/PreferencesPlugin/MANIFEST: d89f073d847345574fc06f85d697378963f91d7abeacef89afe71eb4734906d0
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/PreferencesPlugin/build.pl: e3a9c4dfcfb4e98919c2da8c4662100a6af713771d3ef2b95690008aa6808fdc
  /usr/local/share/twiki/PreferencesPlugin/test/unit/PreferencesPlugin/PreferencesPluginSuite.pm: 459e6b183b41573db163a594e90b02f69fee95e08b5fc9a9c1fc7d2a38345e9c
  /usr/local/share/twiki/PreferencesPlugin/test/unit/PreferencesPlugin/PreferencesPluginTests.pm: 9ab06d6d68fa4cc482f83a9d81950055dcd02feccd24d9c7feeed773974bd941
directories:
  /usr/local/share/twiki/PreferencesPlugin/test/unit/PreferencesPlugin/: n
  /usr/local/share/twiki/PreferencesPlugin/test/unit/: n
  /usr/local/share/twiki/PreferencesPlugin/test/: n
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/PreferencesPlugin/: n
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/Plugins/: n
  /usr/local/share/twiki/PreferencesPlugin/lib/TWiki/: n
  /usr/local/share/twiki/PreferencesPlugin/lib/: n
  /usr/local/share/twiki/PreferencesPlugin/data/TWiki/: n
  /usr/local/share/twiki/PreferencesPlugin/data/: n
  /usr/local/share/twiki/PreferencesPlugin/: n
  /usr/local/share/twiki/: y
scripts:
  install: "#!/bin/sh\n#\n# $FreeBSD: www/twiki/files/pkg-install.in 300897 2012-07-14
    14:29:18Z beat $\n#\n\nTWDIR=/usr/local/share/twiki/PreferencesPlugin\nWWWDIR=/usr/local/www/twiki\nWWWOWN=www\nWWWGRP=www\n\ncase
    $2 in\n\tPRE-INSTALL)\n\t\t;;\n\tPOST-INSTALL)\n\t\tcd ${TWDIR}/\n\t\tfind -s
    * -type d | while read dir; do\n\t\t\tmkdir -p ${WWWDIR}/$dir/\n\t\tdone\n\t\tfind
    -s * -not -type d | while read file; do\n\t\t\tif [ -e ${WWWDIR}/$file ]; then\n\t\t\t\techo
    \"${WWWDIR}/$file exists, skipping\"\n\t\t\telse\n\t\t\t\tcp $file ${WWWDIR}/$file\n\t\t\tfi\n\t\tdone\n\t\tchown
    -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/\n\t\tchmod -R u+w ${WWWDIR}/\n\t\tcd ${WWWDIR}/\n\t\tchmod
    o-rwx data lib locale templates test tools working\n\t\tchmod a+x bin/* tools/*\n\n\t\t#
    let the user know what's going on\n\t\tcat << __EOF__\n*****************************************************************\n*
    You can inspect differences (if any) between the distribition *\n* and the files
    installed using this command:                   *\n  %25 diff -ru ${TWDIR} ${WWWDIR}\n*
    For more info:                                                *\n*  http://wiki.FreeBSD.org/TWiki
    \                               *\n*  http://twiki.org/cgi-bin/view/Codev/TWikiOnFreeBSD
    \          *\n*  http://twiki.org/cgi-bin/view/TWiki/WebHome                  *\n*****************************************************************\n__EOF__\n\t\t;;\n\t*)\n\t\techo
    \"Unexpected Argument $2!!!\"\n\t\texit 1\n\t\t;;\nesac\nexit 0\n"
  deinstall: "#!/bin/sh\n#\n# $FreeBSD: /tmp/pcvs/ports/www/twiki/files/pkg-deinstall.in,v
    1.1 2008-04-22 08:36:40 sat Exp $\n#\n\nTWDIR=/usr/local/share/twiki/PreferencesPlugin\nWWWDIR=/usr/local/www/twiki\n\ncase
    $2 in\n\tDEINSTALL)\n\t\tcd ${TWDIR}/\n\t\tfind -s * -not -type d | while read
    file; do\n\t\t\tif [ -e ${WWWDIR}/$file ]; then\n\t\t\t\tif cmp -s ${WWWDIR}/$file
    $file; then\n\t\t\t\t\trm -f ${WWWDIR}/$file\n\t\t\t\telse\n\t\t\t\t\techo \"${WWWDIR}/$file
    changed, skipping\"\n\t\t\t\tfi\n\t\t\telse\n\t\t\t\techo \"${WWWDIR}/$file lost\"\n\t\t\tfi\n\t\tdone\n\t\tfind
    -ds * -type d | while read dir; do\n\t\t\trmdir ${WWWDIR}/$dir/ 2>/dev/null ||
    true\n\t\tdone\n\t\trmdir ${WWWDIR}/ 2>/dev/null || true\n\t\t;;\n\tPOST-DEINSTALL)\n\t\t;;\n\t*)\n\t\techo
    \"Unexpected Argument $2!\"\n\t\texit 1\n\t\t;;\nesac\nexit 0\n"
