diff options
author | lioux <lioux@FreeBSD.org> | 2000-10-07 01:12:20 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2000-10-07 01:12:20 +0800 |
commit | f605a5cc28585df83fce76108ce303f96a42de9a (patch) | |
tree | 4f1e106b831decd6194dbd8c98dfb28305bf2bf2 /astro | |
parent | c5ab6274e84b7a5406672ac1d3f2705777e77988 (diff) | |
download | freebsd-ports-gnome-f605a5cc28585df83fce76108ce303f96a42de9a.tar.gz freebsd-ports-gnome-f605a5cc28585df83fce76108ce303f96a42de9a.tar.zst freebsd-ports-gnome-f605a5cc28585df83fce76108ce303f96a42de9a.zip |
Approved by: will
Moved all CP to INSTALL_DATA and upheld the only into WRKDIR rule.
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xearth/Makefile | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/astro/xearth/Makefile b/astro/xearth/Makefile index 72f9d69ac90f..2456b4f90709 100644 --- a/astro/xearth/Makefile +++ b/astro/xearth/Makefile @@ -19,17 +19,23 @@ USE_IMAKE= yes MAN1= xearth.1 +# Always prep the joint marker list for every new install +pre-install: + @${ECHO} "# All of FreeBSD's committers, including core :)" > \ + ${WRKDIR}/freebsd.core_and_committers.markers + @${GREP} -hv '^[[:space:]]*#' ${FILESDIR}/freebsd.core.markers \ + ${FILESDIR}/freebsd.committers.markers >> \ + ${WRKDIR}/freebsd.core_and_committers.markers + # Copy the list of FreeBSD sites post-install: - ${MKDIR} ${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 + @${MKDIR} ${PREFIX}/lib/X11/xearth +.for file in freebsd.core.markers freebsd.committers.markers \ + freebsd.ftp.markers + @${INSTALL_DATA} ${FILESDIR}/${file} ${PREFIX}/lib/X11/xearth +.endfor + @${INSTALL_DATA} \ + ${WRKDIR}/freebsd.core_and_committers.markers \ + ${PREFIX}/lib/X11/xearth .include <bsd.port.mk> |