aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2000-10-06 17:12:20 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2000-10-06 17:12:20 +0000
commit4236ae4699acfd70b1e10667580945dcb0a0027c (patch)
tree681201968f8d1cfb2607c3d01bbdbcc57bcd54ea /astro
parent8c5a46d003b5df7ee247d08f0532ecac396381bf (diff)
downloadports-4236ae4699acfd70b1e10667580945dcb0a0027c.tar.gz
ports-4236ae4699acfd70b1e10667580945dcb0a0027c.zip
Approved by: will
Moved all CP to INSTALL_DATA and upheld the only into WRKDIR rule.
Notes
Notes: svn path=/head/; revision=33458
Diffstat (limited to 'astro')
-rw-r--r--astro/xearth/Makefile26
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>