summaryrefslogtreecommitdiff
path: root/x11/xview-clients/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-09-13 22:19:59 +0000
committerjlam <jlam@pkgsrc.org>2000-09-13 22:19:59 +0000
commitbd085d1eebbee765f1eccf25c4a8478e4084755d (patch)
treea1a387df19c3da43da74e73e308f8a80b8587707 /x11/xview-clients/Makefile
parentde2d056c6db546c10bdaf12dc636f3d16a43c142 (diff)
downloadpkgsrc-bd085d1eebbee765f1eccf25c4a8478e4084755d.tar.gz
* Remove useless pre-install target.
* Find xview-clients in olvm/olvwm when xpkgwedge is installed.
Diffstat (limited to 'x11/xview-clients/Makefile')
-rw-r--r--x11/xview-clients/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/x11/xview-clients/Makefile b/x11/xview-clients/Makefile
index 09f659312de..5ec6f3353a9 100644
--- a/x11/xview-clients/Makefile
+++ b/x11/xview-clients/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/09/13 20:25:04 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2000/09/13 22:19:59 jlam Exp $
# $FreeBSD Id: Makefile,v 1.11 1996/11/16 10:49:52 asami Exp
#
@@ -19,12 +19,13 @@ USE_IMAKE= # defined
XMKMF= ${X11PREFIX}/bin/xvmkmf -a
post-patch:
- @${MV} ${WRKSRC}/olwm/openwin-menu-programs ${WRKSRC}/foo
- @${SED} -e 's@XXX11BASEXXX@${PREFIX}@g' < ${WRKSRC}/foo > \
- ${WRKSRC}/olwm/openwin-menu-programs
- @${RM} -f ${WRKSRC}/foo
-
-pre-install:
- @cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man
+ @cd ${WRKSRC}; \
+ for file in olwm/openwin-menu-programs; do \
+ ${MV} -f $${file} $${file}.tmp; \
+ ${SED} -e "s,@PREFIX@,${PREFIX},g" \
+ -e "s,@X11BASE@,${X11BASE},g" \
+ < $${file}.tmp > $${file}; \
+ ${RM} -f $${file}.tmp; \
+ done
.include "../../mk/bsd.pkg.mk"