diff options
author | agc <agc> | 2001-10-25 19:31:10 +0000 |
---|---|---|
committer | agc <agc> | 2001-10-25 19:31:10 +0000 |
commit | 13671ea0831c34e8578ec2b9f3c91eb5af4e97c0 (patch) | |
tree | a9a456024dba9182731d78801168a3f2d2eb56a0 /editors | |
parent | 15f8a34a8d479c71d03cca1d975672f7c23e6e1e (diff) | |
download | pkgsrc-13671ea0831c34e8578ec2b9f3c91eb5af4e97c0.tar.gz |
Move post-install commands from a script to a Makefile target, and
do the post-install target a bit more efficiently.
Remove unnecessary script file.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/jed/Makefile | 9 | ||||
-rw-r--r-- | editors/jed/scripts/post-install | 17 |
2 files changed, 8 insertions, 18 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile index 1684cc3a280..5e9ea006228 100644 --- a/editors/jed/Makefile +++ b/editors/jed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/10/21 11:44:23 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2001/10/25 19:31:10 agc Exp $ # DISTNAME= jed-B0.99-15 @@ -19,6 +19,13 @@ CONFIGURE_ARGS+= --without-X WRKSRC= ${WRKDIR}/jed-B0.99-15 post-install: + echo "Installing lib files" + cd ${WRKSRC}; \ + for dir in lib info doc; do \ + echo "Installing $$dir files"; \ + ${PAX} -rwpe $$dir ${PREFIX}/share/jed; \ + done + ${RM} -f ${PREFIX}/share/jed/doc/jed.1 ${PREFIX}/share/jed/doc/rgrep.1 ${RMDIR} ${PREFIX}/share/jed/bin .include "../../mk/bsd.pkg.mk" diff --git a/editors/jed/scripts/post-install b/editors/jed/scripts/post-install deleted file mode 100644 index d3405d83fa8..00000000000 --- a/editors/jed/scripts/post-install +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# $NetBSD: post-install,v 1.2 1998/11/01 14:55:37 hwr Exp $ -echo "Installing lib files" -cd ${WRKSRC} -tar cf - lib | (cd ${PREFIX}/share/jed ; tar xf - ) -echo "Installing info files" -tar cf - info | (cd ${PREFIX}/share/jed ; tar xf - ) -echo "Installing doc files" -tar cf - doc | (cd ${PREFIX}/share/jed ; tar xf - ) -if [ -f ${PREFIX}/share/jed/doc/jed.1 ] -then - rm ${PREFIX}/share/jed/doc/jed.1 -fi -if [ -f ${PREFIX}/share/jed/doc/rgrep.1 ] -then - rm ${PREFIX}/share/jed/doc/rgrep.1 -fi |