{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.
This commit is contained in:
parent
86adb8d0bc
commit
c175bfe35e
3 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue