summaryrefslogtreecommitdiff
path: root/wm/fvwm1/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-10-14 13:47:17 +0000
committertron <tron@pkgsrc.org>2001-10-14 13:47:17 +0000
commitcc29c215ec00c62ac30066391f0da3e03a50d81d (patch)
tree6c14abf720eca2758e8c76330c6a200360dac231 /wm/fvwm1/Makefile
parent2ab07e3e270dc0ab94ad2bf79b19fe6b2e8ad8e2 (diff)
downloadpkgsrc-cc29c215ec00c62ac30066391f0da3e03a50d81d.tar.gz
Fix build failure on systems where "xpkgwedge" is installed.
Diffstat (limited to 'wm/fvwm1/Makefile')
-rw-r--r--wm/fvwm1/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/wm/fvwm1/Makefile b/wm/fvwm1/Makefile
index 1562671efc7..520ae890ae8 100644
--- a/wm/fvwm1/Makefile
+++ b/wm/fvwm1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/03/11 16:19:46 tron Exp $
+# $NetBSD: Makefile,v 1.6 2001/10/14 13:47:17 tron Exp $
# FreeBSD Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp
#
@@ -17,9 +17,7 @@ CONFLICTS= fvwm-1.*
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
-USE_IMAKE= yes
-# drop -a because we have no `depends' target
-XMKMF= ${SH} -c "${X11BASE}/bin/xmkmf && ${MAKE} Makefiles"
+USE_IMAKE= YES
post-extract:
cd ${WRKSRC}/modules; \
@@ -33,13 +31,22 @@ post-extract:
${SED} -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
<${WRKSRC}/modules/GoodStuff/Imakefile.orig >${WRKSRC}/modules/GoodStuff/Imakefile
+post-patch:
+ cd ${WRKSRC}; \
+ ${MV} configure.h configure.h.old; \
+ ${SED} -e 's#$${PREFIX}#${PREFIX}#g' \
+ -e 's#$${X11BASE}#${X11BASE}#g' configure.h.old >configure.h
+
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm/pixmaps
@${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fvwm/bitmaps
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
- ${PREFIX}/lib/X11/fvwm/pixmaps
+ ${PREFIX}/lib/X11/fvwm/pixmaps
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xbm \
- ${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
- ${PREFIX}/lib/X11/fvwm/bitmaps
+ ${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
+ ${PREFIX}/lib/X11/fvwm/bitmaps
+ ${INSTALL_MAN} ${WRKSRC}/modules/GoodStuff/GoodStuff.man \
+ ${PREFIX}/man/man1/GoodStuff.1
+ ${INSTALL_MAN} ${WRKSRC}/fvwm/fvwm.man ${PREFIX}/man/man1/fvwm.1
.include "../../mk/bsd.pkg.mk"