diff options
author | agc <agc@pkgsrc.org> | 2001-10-26 14:37:56 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-10-26 14:37:56 +0000 |
commit | 42f4f968e128751ca187b0ce446fe1821dd6d503 (patch) | |
tree | f0dad0dedd167fe2ac9b6cbe33f05d0cba20a6cc /parallel/glunix/Makefile | |
parent | 296e868cf08c88bfb4279bc4607978e70b46be6c (diff) | |
download | pkgsrc-42f4f968e128751ca187b0ce446fe1821dd6d503.tar.gz |
Move the post-patch custom script into the package Makefile.
Diffstat (limited to 'parallel/glunix/Makefile')
-rw-r--r-- | parallel/glunix/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile index f3eb173351c..85179bb3eeb 100644 --- a/parallel/glunix/Makefile +++ b/parallel/glunix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2001/10/26 14:10:01 agc Exp $ +# $NetBSD: Makefile,v 1.22 2001/10/26 14:37:56 agc Exp $ DISTNAME= glunix-release-1-0a PKGNAME= glunix-1.0a @@ -50,7 +50,18 @@ pre-fetch: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-fetch post-patch: - cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/post-patch + cd ${WRKSRC}; \ + for f in progs/glupart/glupart.c \ + progs/glunix/glunix.1 \ + progs/glurun/glurun-wrapper.pl \ + progs/tools/run_glunix.c \ + glunix/src/init/glunix.h; do \ + ${MV} -f $$f $$f.input && \ + ${SED} -e 's|%%%NOW_ROOT%%%|${NOW_ROOT}|' $$f.input > $$f; \ + done; \ + ${MV} -f glush/Makefile glush/Makefile.input && \ + ${SED} -e 's|%%%PLAT%%%|${MACHINE_ARCH}-NetBSD-tcp|' \ + progs/glush/Makefile.input > progs/glush/Makefile # the glunix group needs to exist before building. pre-configure: |