diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2000-10-03 05:39:04 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2000-10-03 05:39:04 +0000 |
commit | f577d407ac79211934679c63a838815f6d89d094 (patch) | |
tree | e6153938d2840c2de739646a2fb0cdf38b3d6f8e /astro | |
parent | Support WITH_PERL properly on -current. (diff) |
The ${CP} command is inadequate for ports style. It was replaced by
${INSTALL_DATA}.
Besides, it is dependant on the user umask, for some systems this
means that it will install it with wrong permissions for most users.
For the same reason, I added ${CHMOD} 0444 to make sure the file
generated by merging marker files is correct.
Approved by: will
PR: <A HREF="http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21684">21684</A>
Submitted by: myself
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xearth/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/astro/xearth/Makefile b/astro/xearth/Makefile index ae2ea921cb1d..72f9d69ac90f 100644 --- a/astro/xearth/Makefile +++ b/astro/xearth/Makefile @@ -22,13 +22,14 @@ MAN1= xearth.1 # Copy the list of FreeBSD sites post-install: ${MKDIR} ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.core.markers ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.committers.markers ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.ftp.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.core.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.committers.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.ftp.markers ${PREFIX}/lib/X11/xearth ${ECHO} "# All of FreeBSD's committers, including core :)" > \ ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers ${GREP} -hv '^[[:space:]]*#' ${FILESDIR}/freebsd.core.markers \ ${FILESDIR}/freebsd.committers.markers >> \ ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers + ${CHMOD} 0444 ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers .include <bsd.port.mk> |