---
name: dphys-config
version: 20100216
origin: misc/dphys-config
comment: Tool to distribute config files
arch: freebsd:10:x86:64
www: http://www.phys.ethz.ch/~franklin/Projects/dphys-config/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 98649
desc: |
  This project is aimed at installing (and keeping update) the site specific
  config files we want, after preprocessing them (conditional content and include
  files and include sections). It also triggers postinstall scripts whenever their
  associated config file has been changed. It can also remove config files,
  including running an preremove script before doing so. All this is driven by an
  simple config file list.

  WWW: http://www.phys.ethz.ch/~franklin/Projects/dphys-config/
deps:
  wget: {origin: ftp/wget, version: 1.14_2}
  libidn: {origin: dns/libidn, version: 1.28_1}
  gettext: {origin: devel/gettext, version: 0.18.3.1}
categories:
- misc
files:
  /usr/local/bin/dphys-config: 986ac7a583f9d549e82799db501b8f83109e4fdd0397c692016d2caa42c1d926
  /usr/local/etc/dphys-config.sample: 9f941a1d76c4de5e5ec025f314cf1affc0705d58f18e3ca6efefafa158de4e21
  /usr/local/man/man1/dphys-config.1.gz: c47e028202bcc6a0866f1818081db9ca98a668cd711e4a93d0013a4819518e9a
  /usr/local/share/examples/dphys-config/cron.d.example: 25e07cf04e17faf04b5f196de67e9116417538130f2fc492f8782b984faabebc
  /usr/local/share/examples/dphys-config/dphys-config.example: 9f941a1d76c4de5e5ec025f314cf1affc0705d58f18e3ca6efefafa158de4e21
  /usr/local/share/examples/dphys-config/init.d.example: 1f8e1f4a148378bd4f950496fb73e007fd233a7ecb76dbb6b686aa2eb59cf1e6
  /usr/local/share/examples/dphys-config/site.example/dphys-config-filesys.list: 5da0264bac447a2c331a6b9f7855bd0741771240fa04ceaca7a3b0128ff3689e
  /usr/local/share/examples/dphys-config/site.example/dphys-config-x: 9d416734f7a1f1c8087962d00cce30f8357f4a527f11cf97fe2c906835bcdf8f
  /usr/local/share/examples/dphys-config/site.example/dphys-config.list: a42d434e0d5ecef07ee21ab195f02c762c4cacde767ca31e5b5e9b0c0877383f
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-altern-wwwbrowser: 7aeae98af01d989e4ae7e628beb2a01a5ecf6aaceff82e46353259421bc1bcbe
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-altern-xcursor: 0d31a2643ffcd32606d341c02bb6d2357ca37c8731f01e255370d99291b352b6
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-altern-xsession: f08afc2fde310174873c15e85a516481e7fbf55e0c6f7ed0d1aab6f00097a44a
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-altern-xterminal: 4d0a298b5b45ddde89b99b7f9619666b80a1d312745d2d6cb7fbf9f7ccc64c86
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-exports: d5d3c3c3cf3ff031ecb33f37358534954fa2044abd83a005dd646515d40a610a
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-filesys: 13bd2eba96402ef212407046bfc05e022ee192cbe31cbd2b4971218f38a5178a
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-quota: abce89579771eaf7d57c03cf4f905f2b385cf8c592c2c0fc16a1a8741d7c9ffc
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-usb-storage: e1d0a9944303da550f847abcd82740c910b80f7b3898f215e81017d39058d151
  /usr/local/share/examples/dphys-config/site.example/local/sbin/dphys-config-x: 9085fb682d6862045125e9feb459c38729b404c5bc2d580fdffde55ff9f1d42f
directories:
  /usr/local/share/examples/dphys-config/site.example/local/sbin/: n
  /usr/local/share/examples/dphys-config/site.example/local/: n
  /usr/local/share/examples/dphys-config/site.example/: n
  /usr/local/share/examples/dphys-config/: n
scripts:
  post-install: |
    [ -f /usr/local/etc/dphys-config ] || cp /usr/local/etc/dphys-config.sample /usr/local/etc/dphys-config
  pre-deinstall: |
    if cmp -s /usr/local/etc/dphys-config /usr/local/etc/dphys-config.sample; then rm -f /usr/local/etc/dphys-config; fi
