freebsd-ports/print/texinfo/pkg-install
Mario Sergio Fujikawa Ferreira 0b322197fc New port print/texinfo version 4.8: A typeset documentation system
with multiple format output
2005-05-30 23:23:29 +00:00

28 lines
330 B
Bash

#!/bin/sh
# $FreeBSD$
[ $# != 2 ] && exit 1
PKGNAME=$1
ACTION=$2
PATH="${PKG_PREFIX}/bin:/usr/local/bin:/usr/bin:${PATH}"
SETENV=env
TEXHASH=texhash
TRUE=true
case "$ACTION" in
POST-INSTALL|DEINSTALL)
${SETENV} PATH="${PATH}" ${TEXHASH} 2>/dev/null || ${TRUE}
;;
PRE-INSTALL|POST-DEINSTALL)
;;
*)
exit 1
;;
esac
exit