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
Michael Johnson
2004-04-18 03:30:24 UTC
State Changed From-To: open->closed Committed, thanks! > + ${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
|