ports/65692: [PATCH] devel/ccache: Strip bin/ccache; update COMMENT; Take MAINTAINER
Trevor Johnson
trevor at jpj.net
Sun Apr 18 21:00:36 UTC 2004
The following reply was made to PR ports/65692; it has been noted by GNATS.
From: Trevor Johnson <trevor at jpj.net>
To: michael johnson <ahze at ahze.net>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: ports/65692: [PATCH] devel/ccache: Strip bin/ccache; update
COMMENT; Take MAINTAINER
Date: Sun, 18 Apr 2004 16:57:58 -0400 (EDT)
> + ${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
More information about the freebsd-ports-bugs
mailing list