FreeBSD Bugzilla – Attachment 165928 Details for
Bug 206476
[patch][maintainer update] science/p5-Mcstas-Tools Don't leave dead symlinks when deinstalling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
diff generated by svn
p5-Mcstas-Tools-2.2a.diff (text/plain), 1.42 KB, created by
Erik B Knudsen
on 2016-01-21 22:02:21 UTC
(
hide
)
Description:
diff generated by svn
Filename:
MIME Type:
Creator:
Erik B Knudsen
Created:
2016-01-21 22:02:21 UTC
Size:
1.42 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 406880) >+++ Makefile (working copy) >@@ -22,7 +22,8 @@ > CMAKE_ARGS= -Denable_mcstas=1 > GNU_CONFIGURE= yes > >-SUB_FILES= pkg-install >+PLIST_SUB+= PORTVERSION=${PORTVERSION} >+SUB_FILES= pkg-deinstall pkg-install > SUB_LIST= PORTVERSION=${PORTVERSION} > > .include <bsd.port.mk> >Index: files/pkg-deinstall.in >=================================================================== >--- files/pkg-deinstall.in (nonexistent) >+++ files/pkg-deinstall.in (working copy) >@@ -0,0 +1,24 @@ >+#!/bin/sh >+ >+PKG_PREFIX=${PKG_PREFIX:-%%PREFIX%%} >+ >+if [ $# -ne 2 ]; then >+ echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 >+ exit 1 >+fi >+ >+execs="mcdaemon mcdisplay mcdoc mcformatgui mcgui mcplot mcresplot mcrun mcstas2vitess" >+ >+case $2 in >+ DEINSTALL) >+ >+ if [ ! -f "${PKG_PREFIX}/bin" ]; then >+ echo "Deinstalling links to executables in ${PKG_PREFIX}/bin."; >+ for target in ${execs}; do >+ rm ${PKG_PREFIX}/bin/${target}; >+ done >+ fi >+ ;; >+esac >+ >+exit 0 > >Property changes on: files/pkg-deinstall.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
rakuco
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 206476
: 165928