aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xearth
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2000-10-03 13:39:04 +0800
committerlioux <lioux@FreeBSD.org>2000-10-03 13:39:04 +0800
commitf0cd74acf6a0d0ef00b5f0af8dce1a4cd50d4e7a (patch)
tree07dff25ff1edfb86793400a6f26ac51656de4358 /astro/xearth
parent13a72aceaa19ca1fd237406b3c326c5c32b2c5d6 (diff)
downloadfreebsd-ports-gnome-f0cd74acf6a0d0ef00b5f0af8dce1a4cd50d4e7a.tar.gz
freebsd-ports-gnome-f0cd74acf6a0d0ef00b5f0af8dce1a4cd50d4e7a.tar.zst
freebsd-ports-gnome-f0cd74acf6a0d0ef00b5f0af8dce1a4cd50d4e7a.zip
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/xearth')
-rw-r--r--astro/xearth/Makefile7
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>