summaryrefslogtreecommitdiff
path: root/wm/fvwm1/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
committerwiz <wiz@pkgsrc.org>2000-12-12 02:03:46 +0000
commitb48aa2febfd565b99592854d7cbeaa9c59ec76e9 (patch)
tree0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/fvwm1/Makefile
parenta32b3a56553677e14a448f1a16a11a4a984b3574 (diff)
downloadpkgsrc-b48aa2febfd565b99592854d7cbeaa9c59ec76e9.tar.gz
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/fvwm1/Makefile')
-rw-r--r--wm/fvwm1/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/wm/fvwm1/Makefile b/wm/fvwm1/Makefile
new file mode 100644
index 00000000000..5eae87ccdc3
--- /dev/null
+++ b/wm/fvwm1/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/12 02:03:48 wiz Exp $
+# FreeBSD Id: Makefile,v 1.12 1997/10/11 10:42:43 jkh Exp
+#
+
+DISTNAME= fvwm-1.24r
+PKGNAME= ${DISTNAME:S/fvwm/fvwm1/}
+CATEGORIES= x11 wm
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= cjs@netbsd.org
+HOMEPAGE= http://www.hpc.uh.edu/fvwm/
+
+DEPENDS= xpmroot-2.*:../../x11/xpmroot
+
+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 "xmkmf && ${MAKE} Makefiles"
+
+post-extract:
+ cd ${WRKSRC}/modules; \
+ for FILE in Fvwm*/Imakefile; do \
+ ${MV} $${FILE} $${FILE}.orig; \
+ ${SED} -e 's/ComplexProgramTarget/ComplexProgramTargetNoMan/' \
+ -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
+ <$${FILE}.orig >$${FILE}; \
+ done
+ ${MV} ${WRKSRC}/modules/GoodStuff/Imakefile ${WRKSRC}/modules/GoodStuff/Imakefile.orig
+ ${SED} -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
+ <${WRKSRC}/modules/GoodStuff/Imakefile.orig >${WRKSRC}/modules/GoodStuff/Imakefile
+
+post-install:
+ @${MKDIR} ${PREFIX}/lib/X11/fvwm/pixmaps
+ @${MKDIR} ${PREFIX}/lib/X11/fvwm/bitmaps
+ ${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
+ ${PREFIX}/lib/X11/fvwm/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xbm \
+ ${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
+ ${PREFIX}/lib/X11/fvwm/bitmaps
+
+.include "../../mk/bsd.pkg.mk"