diff options
author | lioux <lioux@FreeBSD.org> | 2001-09-25 04:05:22 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-09-25 04:05:22 +0800 |
commit | 66ebb771c883739a1ff70600a2cdaed918af4da5 (patch) | |
tree | 5d74d5778abce42b68eafd944e8b203bc85cfd19 /multimedia/openquicktime/pkg-install | |
parent | 982311cc423d237e5295bfa512876294bdbc05fb (diff) | |
download | freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.tar.gz freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.tar.zst freebsd-ports-gnome-66ebb771c883739a1ff70600a2cdaed918af4da5.zip |
New port openquicktime version 1.0: Portable library for handling
Apple's QuickTime(TM) files
Diffstat (limited to 'multimedia/openquicktime/pkg-install')
-rw-r--r-- | multimedia/openquicktime/pkg-install | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/multimedia/openquicktime/pkg-install b/multimedia/openquicktime/pkg-install new file mode 100644 index 000000000000..bffe5d3e1646 --- /dev/null +++ b/multimedia/openquicktime/pkg-install @@ -0,0 +1,42 @@ +#!/bin/sh +# $FreeBSD$ + +[ $# != 2 ] && exit 1 +PKGNAME=$1 +ACTION=$2 + +LIB_DIR=${PKG_PREFIX}/lib +LIB_VERSION=0 + +LN="ln -sf" +RM=rm + +case "$ACTION" in + +POST-INSTALL) + ${LN} libopenquicktime.so \ + ${LIB_DIR}/libopenquicktime.so.${LIB_VERSION} + ${LN} quicktime_codec_.mp3.so \ + ${LIB_DIR}/quicktime_codec_.mp3.so.${LIB_VERSION} + ${LN} quicktime_codec_ms.so \ + ${LIB_DIR}/quicktime_codec_ms.so.${LIB_VERSION} + ${LN} quicktime_codec_jpeg.so \ + ${LIB_DIR}/quicktime_codec_jpeg.so.${LIB_VERSION} + ;; + +DEINSTALL) + ${RM} ${LIB_DIR}/libopenquicktime.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_.mp3.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_ms.so.${LIB_VERSION} + ${RM} ${LIB_DIR}/quicktime_codec_jpeg.so.${LIB_VERSION} + ;; + +PRE-INSTALL|POST-DEINSTALL) + ;; + +*) + exit 1 + ;; +esac + +exit |