Date: Sun, 18 Apr 2004 14:00:36 -0700 (PDT) From: Trevor Johnson <trevor@jpj.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/65692: [PATCH] devel/ccache: Strip bin/ccache; update COMMENT; Take MAINTAINER Message-ID: <200404182100.i3IL0ak8000919@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/65692; it has been noted by GNATS. From: Trevor Johnson <trevor@jpj.net> To: michael johnson <ahze@ahze.net> Cc: FreeBSD-gnats-submit@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404182100.i3IL0ak8000919>