From 66ebb771c883739a1ff70600a2cdaed918af4da5 Mon Sep 17 00:00:00 2001 From: lioux Date: Mon, 24 Sep 2001 20:05:22 +0000 Subject: New port openquicktime version 1.0: Portable library for handling Apple's QuickTime(TM) files --- multimedia/openquicktime/pkg-install | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 multimedia/openquicktime/pkg-install (limited to 'multimedia/openquicktime/pkg-install') 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 -- cgit