From f577d407ac79211934679c63a838815f6d89d094 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Tue, 3 Oct 2000 05:39:04 +0000 Subject: 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: 21684 Submitted by: myself --- astro/xearth/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'astro') 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 -- cgit v1.2.3