diff options
author | jlam <jlam@pkgsrc.org> | 2006-06-19 23:16:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-06-19 23:16:33 +0000 |
commit | 28abc44bee757044bf448e31ab69a5e1c71bc27f (patch) | |
tree | 4e226fc57f8ca745e7bb890f90ca7cf4bf9fe411 /audio/xmms-meta-input | |
parent | b892dd8c9309ca24e5b5207a6daac6c8deebb145 (diff) | |
download | pkgsrc-28abc44bee757044bf448e31ab69a5e1c71bc27f.tar.gz |
{DE,}INSTALL_SRC is not actually obsolete without some other changes
to the DEINSTALL/INSTALL scripts so that they are the correct format
as expected by the pkginstall framework. Fix the DEINSTALL script.
Also, use REQD_DIRS to manage the Input/Meta directory instead of
using @unexecJ lines in the PLIST.
Diffstat (limited to 'audio/xmms-meta-input')
-rw-r--r-- | audio/xmms-meta-input/DEINSTALL | 26 | ||||
-rw-r--r-- | audio/xmms-meta-input/Makefile | 3 | ||||
-rw-r--r-- | audio/xmms-meta-input/PLIST | 4 |
3 files changed, 17 insertions, 16 deletions
diff --git a/audio/xmms-meta-input/DEINSTALL b/audio/xmms-meta-input/DEINSTALL index 5ceb82d4784..950873d7f15 100644 --- a/audio/xmms-meta-input/DEINSTALL +++ b/audio/xmms-meta-input/DEINSTALL @@ -1,17 +1,19 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2003/12/24 00:09:55 ben Exp $ -# +# $NetBSD: DEINSTALL,v 1.2 2006/06/19 23:16:33 jlam Exp $ -case $2 in - DEINSTALL) cat << EOF - -============================================================= -The xmms-meta-input player scripts were not wiped out by -this deletion process. If you don't want them around, -please remove ${PKG_PREFIX}/lib/xmms/Input/Meta. -============================================================= +case "${STAGE}" in +DEINSTALL) + INPUT_MESA_SCRIPTDIR="${PKG_PREFIX}/lib/xmms/Input/Meta" + ${RMDIR} -p ${INPUT_MESA_SCRIPTDIR} 2>/dev/null || ${TRUE} + if ${TEST} -d ${INPUT_MESA_SCRIPTDIR}; then + ${CAT} << EOF +====================================================================== +The xmms-meta-input player scripts were not wiped out by this deletion +process. If you don't want them around, then please remove the +following directory: + ${INPUT_MESA_SCRIPTDIR} +====================================================================== EOF + fi ;; esac diff --git a/audio/xmms-meta-input/Makefile b/audio/xmms-meta-input/Makefile index 57ae9835f9a..462c9d0acc7 100644 --- a/audio/xmms-meta-input/Makefile +++ b/audio/xmms-meta-input/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/06/17 19:29:11 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2006/06/19 23:16:34 jlam Exp $ # DISTNAME= xmms-meta-input-0.4 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.corbac.com/page3.html COMMENT= XMMS plugin wrapper for shell scripts INSTALLATION_DIRS= lib/xmms/Input +REQD_DIRS+= lib/xmms/Input/Mesa do-install: ${INSTALL_DATA} ${WRKSRC}/libmetainput.so ${PREFIX}/lib/xmms/Input diff --git a/audio/xmms-meta-input/PLIST b/audio/xmms-meta-input/PLIST index bd7ea9e920b..0cda4986ce1 100644 --- a/audio/xmms-meta-input/PLIST +++ b/audio/xmms-meta-input/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2004/07/05 15:07:33 minskim Exp $ +@comment $NetBSD: PLIST,v 1.3 2006/06/19 23:16:34 jlam Exp $ lib/xmms/Input/libmetainput.so share/doc/xmms-input/README share/examples/xmms-meta-input/dsp_input @@ -10,6 +10,4 @@ share/examples/xmms-meta-input/spc share/examples/xmms-meta-input/vorbis @dirrm share/examples/xmms-meta-input @dirrm share/doc/xmms-input -@exec ${MKDIR} %D/lib/xmms/Input/Meta -@dirrm lib/xmms/Input/Meta @comment in xmms: @dirrm lib/xmms/Input |