mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
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
This commit is contained in:
parent
7d6631db55
commit
f577d407ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33352
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user