Bug 65692 - [PATCH] devel/ccache: Strip bin/ccache; update COMMENT; Take MAINTAINER
Summary: [PATCH] devel/ccache: Strip bin/ccache; update COMMENT; Take MAINTAINER
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-18 03:30 UTC by Michael Johnson
Modified: 2004-04-18 22:00 UTC (History)
0 users

See Also:


Attachments
ccache-2.3_2.patch (796 bytes, patch)
2004-04-18 03:30 UTC, Michael Johnson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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