Bug 65692

Summary: [PATCH] devel/ccache: Strip bin/ccache; update COMMENT; Take MAINTAINER
Product: Ports & Packages Reporter: Michael Johnson <ahze>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ccache-2.3_2.patch none

Description Michael Johnson 2004-04-18 03:30:24 UTC
- strip bin/ccache
- add C++ to COMMENT
- Take maintainership 

I wasn't sure about the PORTREVISION bump, do we do that for strip?

Generated with FreeBSD Port Tools 0.50
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-04-18 08:42:34 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 Trevor Johnson 2004-04-18 21:57:58 UTC
> +	${STRIP_CMD} ${PREFIX}/bin/ccache

The INSTALL_PROGRAM macro will do the stripping.  When it isn't too much
work, it's good to use the INSTALL_ macros rather than a program's own
install: target, .  For ccache it would only take one more line to do
this:

--- Makefile    30 Mar 2004 09:41:59 -0000      1.19
+++ Makefile    18 Apr 2004 20:49:03 -0000
@@ -21,7 +21,9 @@
 PORTDOCS=      index.html \
                ccache-man.html

-post-install:
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/ccache ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ccache.1 ${PREFIX}/man/man1
 .if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
 .for i in ${PORTDOCS}
-- 
Trevor Johnson