---
name: twiki-InterwikiPlugin
version: 0.0.17303
origin: www/twiki-InterwikiPlugin
comment: Wikilink to external sites
arch: freebsd:9:x86:64
www: http://twiki.org/cgi-bin/view/Plugins/InterwikiPlugin
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 15713
desc: |
  The InterwikiPlugin links ExternalSite:Page text to external sites
  based on aliases defined in the InterWikis topic. This plugin is
  inspired by UseMod Wiki's inter-wiki links.

  Author: Andrea Sterbini, Peter Thoeny
  WWW: http://twiki.org/cgi-bin/view/Plugins/InterwikiPlugin
categories: [www]
files:
  /usr/local/share/twiki/InterwikiPlugin/data/TWiki/InterWikis.txt: 24d617e61a17d1b83ab4ea32b8177dd45dbb061930b6a60ae853e558483a7426
  /usr/local/share/twiki/InterwikiPlugin/data/TWiki/InterwikiPlugin.txt: 52c045cc62f27f2bc65d5416c7c93f48cdc0415513e8e3e3319ce95a1f308786
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin.pm: f91c065d2c70059577624ac05efa259e93b6193ea3c7c354ffe97c287c3ef45d
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin/DEPENDENCIES: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin/MANIFEST: 1bff4fdadbdb20ae23ac2f7f34cdac94d029a74bcfc72bfb5f7f5d565f15a4fb
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin/build.pl: 5b6c96d83cf24c6e85a8cceb126ca73d8b263dcc96364418bae58767f79e4cd8
directories:
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin/: n
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/Plugins/: n
  /usr/local/share/twiki/InterwikiPlugin/lib/TWiki/: n
  /usr/local/share/twiki/InterwikiPlugin/lib/: n
  /usr/local/share/twiki/InterwikiPlugin/data/TWiki/: n
  /usr/local/share/twiki/InterwikiPlugin/data/: n
  /usr/local/share/twiki/InterwikiPlugin/: 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/InterwikiPlugin\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/InterwikiPlugin\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"
