ports/92434: Patch: Mk/bsd.port.mk automatic show pkg-message

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ports/92434: Patch: Mk/bsd.port.mk automatic show pkg-message

Jean Milanez Melo

>Number:         92434
>Category:       ports
>Synopsis:       Patch: Mk/bsd.port.mk automatic show pkg-message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 27 18:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jean Milanez Melo
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD capeta.freebsdbrasil.com.br 5.3-STABLE FreeBSD 5.3-STABLE #5: Wed Mar 2 15:03:19 BRT 2005 [hidden email]:/usr/obj/usr/src/sys/CAPETA i386


       
>Description:
       
- I made a patch to do "${CAT} ${PKGMESSAGE}" automatically if the pkg-message exists on port.
- If the portmgr's approve my idea i'm avaliable to make a big patch with changes on all ports.
>How-To-Repeat:
       
>Fix:

       

--- bsd.port.mk.diff begins here ---
--- bsd.port.mk.orig Fri Jan 27 15:45:11 2006
+++ bsd.port.mk Fri Jan 27 15:48:12 2006
@@ -3788,7 +3788,7 @@
  check-already-installed
 _INSTALL_SUSEQ= check-umask install-mtree pre-su-install \
  pre-su-install-script do-install install-desktop-entries \
- post-install post-install-script add-plist-info \
+ post-install post-install-script show-pkgmessage add-plist-info \
  add-plist-docs add-plist-post install-rc-script compress-man \
  run-ldconfig fake-pkg security-check
 _PACKAGE_DEP= install
@@ -5425,5 +5425,12 @@
 .endif
 .endif
 
+.endif
+
+.if !target(show-pkgmessage)
+show-pkgmessage:
+ @if [ -f ${PKGMESSAGE} ]; then \
+ ${CAT} ${PKGMESSAGE}; \
+ fi
 .endif
 # End of post-makefile section.
--- bsd.port.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: ports/92434: Patch: Mk/bsd.port.mk automatic show pkg-message

linimon
Synopsis: Patch: Mk/bsd.port.mk automatic show pkg-message

Responsible-Changed-From-To: freebsd-ports-bugs->portmgr
Responsible-Changed-By: linimon
Responsible-Changed-When: Fri Jan 27 18:44:52 UTC 2006
Responsible-Changed-Why:
Belongs to usssssss.

http://www.freebsd.org/cgi/query-pr.cgi?pr=92434
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"