#!/bin/sh # Check whether config files exist already, and copy the distribution ones # if not. Warn the user if the existing ones differ from the distribution, # so changes in the distribution can be merged. checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in 0) # config file exists, but is the same ;; 1) # config file exists and differs echo "** Make sure $1 is in sync with this version"; echo " of the port. See $1.dist for details."; ;; *) # no config file exists, copy it install -c -m 644 $1.dist $1 ;; esac } case $2 in POST-INSTALL) cd ${PKG_PREFIX} checkfile ${PKG_PREFIX}/etc/AppleVolumes.default checkfile ${PKG_PREFIX}/etc/AppleVolumes.system # install man page aliases cd man if [ -f man1/megatron.1.gz ]; then MANEXT=.gz fi for i in hqx2bin macbinary single2bin unbin unhex unsingle; do ln -f man1/megatron.1${MANEXT} man1/$i.1${MANEXT} done for i in nbplkup nbprgstr nbpunrgstr; do ln -f man1/nbp.1${MANEXT} man1/$i.1${MANEXT} done ln -f man1/pap.1${MANEXT} man1/papstatus.1${MANEXT} ;; esac ='main'>index : freebsd-ports-graphics
FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/simh
Commit message (Expand)AuthorAgeFilesLines
* Update to 3.2.0vs2004-06-244-47/+22
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* remove spaces in favour of a tabs.edwin2004-01-101-1/+1
* Update emulators/sim to 3.0-2edwin2004-01-104-202/+26
* Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.trevor2003-11-131-1/+1
* Clear moonlight beckons.ade2003-03-072-1/+1
* Update port to 2.10.jedgar2003-02-086-251/+235
* tr -> ${TR}jedgar2002-10-271-1/+1
* o Use tr(1) instead of perl(1)jedgar2002-10-271-3/+3